http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090
Mikael Pettersson <mikpe at it dot uu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpe at it dot uu.se --- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-03-12 12:03:18 UTC --- I get correct-looking code on armv5tel-linux with vanilla gcc-4.6-20110305 and gcc-4.5-20110310, with 4.4 the code looks different but not obviously broken. Can you make the test case standalone and include a runtime check for the possible miscompilation? How was your gcc configured?