http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53352
--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2012-05-17 18:35:00 UTC --- There is no call to 'foo' in the test case here. I guess you meant 'bar', but even so executable test cases are strongly preferred over manual inspection of assembly code. FWIW, using the test case in the gcc-patches submission I've reproduced the bug with both gcc-4.6.3 and gcc-4.5.3 on armv5tel-linux-gnueabi.