This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]