[Bug middle-end/78016] REG_NOTE order is not kept during insn copy

2016-11-07 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016 Jiong Wang changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/78016] REG_NOTE order is not kept during insn copy

2016-10-19 Thread jiwang at gcc dot gnu.org
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

[Bug middle-end/78016] REG_NOTE order is not kept during insn copy

2016-10-19 Thread ebotcazou at gcc dot gnu.org
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

[Bug middle-end/78016] REG_NOTE order is not kept during insn copy

2016-10-18 Thread jiwang at gcc dot gnu.org
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

[Bug middle-end/78016] REG_NOTE order is not kept during insn copy

2016-10-18 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78016 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|