[Bug middle-end/71732] FAIL: gcc.dg/torture/pr71532.c at -O2 and above

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 1 19:02:00 GMT 2016


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

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> ---
The last argument (in r18) is not stored to argument slot:

        ldi 5,%r4
        stw %r18,-80(%r30)
        stw %r16,-76(%r30)
        stw %r14,-72(%r30)
        stw %r12,-68(%r30)
        stw %r10,-64(%r30)
        stw %r8,-60(%r30)
        stw %r6,-56(%r30)
        bl foo,%r2
        stw %r4,-52(%r30)
.LVL28:
        .loc 1 29 0
        stw %r16,0(%r15)
        ldi 4,%r23
        ldi 3,%r24
        stw %r14,0(%r13)
        ldi 2,%r25
        ldi 1,%r26
        stw %r12,0(%r11)
        stw %r10,0(%r9)
        stw %r8,0(%r7)
        stw %r6,0(%r5)
        stw %r4,0(%r3)
        stw %r12,0(%r11)
        stw %r10,0(%r9)
        stw %r8,0(%r7)
        stw %r6,0(%r5)
        stw %r4,0(%r3)
        bl bar,%r2
        stw %r28,-184(%r30)


More information about the Gcc-bugs mailing list