Comment 2 for bug 1804004

Revision history for this message
Thomas Preud'homme (thomas-preudhomme) wrote :

Hi Michael,

I cannot seem to reproduce this issue:

% 7-2018Q2/linux/gcc-arm-none-eabi-7-2018-q2-update/bin/arm-none-eabi-gcc -S -Os -mcpu=cortex-m4 -mno-unaligned-access strd.c -o - | sed -n '/^x:/,/.L3:/p'
x:
        @ args = 0, pretend = 0, frame = 0
        @ frame_needed = 0, uses_anonymous_args = 0
        @ link register save eliminated.
        ldr r3, .L2
        ldr r2, .L2+4
        ldr r3, [r3]
        str r2, [r3, #4]
        ldr r2, .L2+8
        str r2, [r3, #8]
        movs r2, #8
        strh r2, [r3, #12] @ movhi
        bx lr
.L3:

Can you please provide more guidance on how to reproduce it?

Best regards,

Thomas