https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016
Jiong Wang changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016
--- Comment #4 from Jiong Wang ---
(In reply to Eric Botcazou from comment #3)
> > I am wondering whether it's OK to use copy_insn_1 here? that is to replace
> > the whole for loop into something simply as "REG_NOTES (new_insn) =
> > copy_insn_1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016
--- Comment #3 from Eric Botcazou ---
> I am wondering whether it's OK to use copy_insn_1 here? that is to replace
> the whole for loop into something simply as "REG_NOTES (new_insn) =
> copy_insn_1 (REG_NOTES (old_insn);" as I think
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016
--- Comment #2 from Jiong Wang ---
(In reply to Eric Botcazou from comment #1)
> > I attached a simply fix to keep REG-NOTE order during insn copy.
> >
> > Any comments?
>
> This seems reasonable if you need it for the DWARF CFI stuff, but
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|