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

            Bug ID: 70990
           Summary: [SH] Unreachable basic blocks
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: olegendo at gcc dot gnu.org
  Target Milestone: ---
            Target: sh*-*-*

In CSiBE cg_compiler_opensrc/compile.c I've spotted the following code:


        .align 1
.L1012:
        mov     #7,r5
        jsr     @r1
        mov     #24,r4
        mov.l   @(8,r15),r1
        mov     r0,r11
        mov.l   @r1,r2
        bra     .L891
        mov.l   r2,@(4,r0)
        bra     .L908            <<< unreachable branch
        nop
        .align 1
.L1010:
        mov.l   .L1064,r0
        mov.l   @(8,r15),r2
        mov.l   @r9,r5
        mov.l   @r2,r7

Reply via email to