[Bug target/55487] ICE in mark_jump_label_1, at jump.c:1134 compiling gcc.c-torture/execute/pr51447.c at -O2 and above

danglin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 3 21:35:00 GMT 2013


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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |target

--- Comment #7 from John David Anglin <danglin at gcc dot gnu.org> 2013-04-03 21:35:45 UTC ---
Found where value is clobbered:

      /* During and after reload, we need to generate a REG_LABEL_OPERAND note
         and update LABEL_NUSES because this is not done automatically.  */
      if (reload_in_progress || reload_completed)
        {
          /* Extract LABEL_REF.  */
          if (GET_CODE (orig) == CONST)
            orig = XEXP (XEXP (orig, 0), 0);
          /* Extract CODE_LABEL.  */
          orig = XEXP (orig, 0);
          add_reg_note (insn, REG_LABEL_OPERAND, orig);
          LABEL_NUSES (orig)++;
        }



More information about the Gcc-bugs mailing list