gcc.dg/pr28796-2.c execution test fails on sh for a while.
There is a wrong code like

        fcmp/eq dr2,dr4
        bf/s    .L93
        fcmp/gt dr2,dr4
        bra     .L92
        movt    r2

which should be

        fcmp/eq dr2,dr4
        bf/s    .L53
        movt    r2
.L92:
        ...

.L53:
        fcmp/gt dr2,dr4
.L93:

i.e. a delay slot is filled with a wrong insn.  It stated
to fail between revision 152230 and 152317 but it seems
there are no related changes.  Perhaps some changes revealed
this latent problem.


-- 
           Summary: [4.5 Regression] SH: delay slot is filled with a wrong
                    insn
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kkojima at gcc dot gnu dot org
GCC target triplet: sh4-unknown-linux-gnu


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

Reply via email to