http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55006



Andreas Krebbel <krebbel at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |krebbel at gcc dot gnu.org



--- Comment #10 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-12-05 
11:56:03 UTC ---

The attached testcase gets miscompiled starting with that revision.



cc1  -fpreprocessed -quiet  -O2 -march=z196 -funroll-loops  t.c 



Perl_lex_start:

.LFB0:

    stgrl    %r2,PL_linestr

    tm    13(%r2),128

    stmg    %r14,%r15,112(%r15)

.LCFI0:

    lay    %r15,-168(%r15)

.LCFI1:

    jne    .L6

    l    %r0,12            <------ broken (access to absolute address 12)

    lgrl    %r2,PL_linestr

.L2:

    tmlh    %r0,4

    jne    .L1

    la    %r3,160(%r15)

    lghi    %r4,2

    brasl    %r14,Perl_sv_2pv_flags

.L1:

    lmg    %r14,%r15,280(%r15)

.LCFI2:

    br    %r14

.L6:

.LCFI3:

    brasl    %r14,Perl_sv_2mortal

    stgrl    %r2,PL_linestr

    l    %r0,12(%r2)

    j    .L2

Reply via email to