This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/71923] return instruction emitted twice with branch target inbetween


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-07-19
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  Trunk aligns stuff:

fact:
.LFB0:
        .cfi_startproc
        testl   %edi, %edi
        movl    $1, %eax
        je      .L4
        .p2align 4,,10
        .p2align 3
.L3:
        imull   %edi, %eax
        subl    $1, %edi
        jne     .L3
        rep ret
        .p2align 4,,10
        .p2align 3
.L4:
        rep ret
        .cfi_endproc

this all is probably a BB reorder / cfg cleanup issue.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]