Use of uninitialised data in tc-sh.c

Andrew STUBBS andrew.stubbs@st.com
Tue Jan 18 17:32:00 GMT 2005


> Do you have a testcase that triggers this error?  Thanks,

Apologies, I should have thought of that. My original testcase was from
plumhall so I couldn't include that, and I can't imagine any real program
not triggering the error.

It only takes one instruction to trigger it:

	mov.l r1,r2

does the trick, although I'm sure there are others.

I'm using valgrind 2.2.0 with --tool=memcheck and binutils 2.15.94.0.1

HTH

--
Andrew Stubbs
andrew.stubbs@st.com
andrew.stubbs@superh.com



More information about the Binutils mailing list