This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/84545] [8 regression] FAIL: g++.dg/debug/pr44182.C -gdwarf-2 -O2 (test for excess errors)
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Feb 2018 15:28:19 +0000
- Subject: [Bug debug/84545] [8 regression] FAIL: g++.dg/debug/pr44182.C -gdwarf-2 -O2 (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-84545-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84545
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Do the:
> if (CALL_P (insn))
> {
> rtx note = find_reg_note (insn, REG_CALL_ARG_LOCATION, NULL_RTX);
> if (note)
> remove_note (insn, note);
> }
> also for insns inside a SEQUENCE?
Yes, although doing it only for the first insn therein is sufficient.