http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40657
Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldot at gcc dot gnu.org --- Comment #12 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> 2012-06-20 18:24:29 UTC --- Fixed? $ arm-oe-linux-uclibceabi-gcc -Os -mthumb -march=armv5te -S pr40657.c -o - .arch armv5te .fpu softvfp .eabi_attribute 20, 1 .eabi_attribute 21, 1 .eabi_attribute 23, 3 .eabi_attribute 24, 1 .eabi_attribute 25, 1 .eabi_attribute 26, 2 .eabi_attribute 30, 4 .eabi_attribute 34, 0 .eabi_attribute 18, 4 .code 16 .file "pr40657.c" .text .align 1 .global foo .code 16 .thumb_func .type foo, %function foo: push {r0, r1, r2, lr} add r0, sp, #4 bl bar @ sp needed for prologue ldr r0, [sp, #4] pop {r1, r2, r3, pc} .size foo, .-foo .ident "GCC: (GNU) 4.7.1 20120421 (prerelease)" .section .note.GNU-stack,"",%progbits