https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87373

Umesh Kalappa <umesh.kalappa0 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |umesh.kalappa0 at gmail dot com

--- Comment #1 from Umesh Kalappa <umesh.kalappa0 at gmail dot com> ---
with trunk i see below output for the attached case .

main:
        @ args = 0, pretend = 0, frame = 8
        @ frame_needed = 0, uses_anonymous_args = 0
        @ link register save eliminated.
        sub     sp, sp, #8
        movw    r3, #1025
        str     r3, [sp]
        ldr     r0, [sp]
        ldr     r3, .L4
        uxtb    r0, r0
        str     sp, [r3]
        add     sp, sp, #8
        @ sp needed
        bx      lr

$ arm-windriver-linux-gnueabi-gcc  -mcpu=cortex-m3 -mthumb  '-DDEBUG=1' -O2
-pedantic -Wall -Wextra  -fmessage-length=0  -mno-sched-prolog -fno-builtin
-fshort-enums  test.c -S

Reply via email to