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

--- Comment #11 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Fredrik Hederstierna from comment #10)
> Created attachment 46457 [details]
> Testcase from CSiBE teem sources
> 
> Testcase from CSiBE teem sources
> Tested with gcc-9.1.0 for ARM 32bit targets.
> 
> Without peephole2
> 
> 00000000 <nrrdRangeSet>:
>    0: e92d407f        push    {r0, r1, r2, r3, r4, r5, r6, lr}
>    4: e2504000        subs    r4, r0, #0
>    8: 0a00003f        beq     10c <nrrdRangeSet+0x10c>
>    c: e3510000        cmp     r1, #0
>   10: e1a05001        mov     r5, r1
> 
> With peephole2
> 
> 00000000 <nrrdRangeSet>:
>    0: e92d407f        push    {r0, r1, r2, r3, r4, r5, r6, lr}
>    4: e2504000        subs    r4, r0, #0
>    8: 0a00003e        beq     108 <nrrdRangeSet+0x108>
>    c: e2515000        subs    r5, r1, #0
> 
> /Fredrik

Can you run this through your preprocessor to remove the dependencies on
external headers?

Reply via email to