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 target/78642] [7 regression] ICE: invalid rtl sharing found in the insn on sparc


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

--- Comment #10 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
It's copy_insn_1:

    case CLOBBER:
      /* Share clobbers of hard registers (like cc0), but do not share pseudo
reg
         clobbers or clobbers of hard registers that originated as pseudos.
         This is needed to allow safe register renaming.  */
      if (REG_P (XEXP (orig, 0)) && REGNO (XEXP (orig, 0)) <
FIRST_PSEUDO_REGISTER
          && ORIGINAL_REGNO (XEXP (orig, 0)) == REGNO (XEXP (orig, 0)))
        return orig;

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