------- Comment #4 from alexandre dot nunes at gmail dot com 2008-02-08 16:51 ------- I suggest closing this unless reproductible on gcc 4.3.x, since at least vanilla arm-elf-gcc 4.2.2 is correct:
foo: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 @ link register save eliminated. cmn r1, r0 rsbeq r0, r1, r0 rsbne r0, r0, r1 @ lr needed for prologue bx lr .size foo, .-foo .ident "GCC: (GNU) 4.2.2" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11826