[Bug rtl-optimization/38644] Optimization flag -O1 -fschedule-insns2 causes wrong code

rearnsha at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 22 13:33:00 GMT 2009



------- Comment #9 from rearnsha at gcc dot gnu dot org  2009-12-22 13:33 -------
I've looked at several backends and certainly not all do (sparc for example).

I think they get away with it because the stack pointer is valid in all
addressing constructs -- that's not true for Thumb where SP can only be used
for 32-bit loads.  However, that doesn't mean there isn't an underlying bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644



More information about the Gcc-bugs mailing list