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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
           Assignee|unassigned at gcc dot gnu.org      |vmakarov at gcc dot 
gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
LGTM.  Guess the other option would be just to
          {
            asm_p = true;
            lra_asm_insn_error (insn);
            if (JUMP_P (insn))
              {
                ira_nullify_asm_goto (insn);
                lra_invalidate_insn_data (insn);
              }
          }
        else if (!asm_p)
For the RTL checking, the problem wasn't with asm goto, but other asms which
are turned into NOTE_INSN_DELETED.  So the lra_invalidate_insn_data or PATTERN
(insn) = gen_rtx_USE (VOIDmode, const0_rtx); on it was problematic.

Reply via email to