[Bug rtl-optimization/91136] [MIPS] Incorrect move of instruction to delay slot causes application crash in exception handling

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 11 07:53:00 GMT 2019


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Strange things happen on the mainline too:

        li      $2,2                    # 0x2
        beq     $5,$2,.L5
.L6:
        ld      $4,8($sp)

There is a label between a branch and the instruction in the delay slot...


More information about the Gcc-bugs mailing list