https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70326
--- Comment #4 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- Thanks. (In reply to Jakub Jelinek from comment #3) > Created attachment 38047 [details] > gcc6-pr70326.patch > > So do you mean something like this? Or check !INSN_P instead of checking > for NOTE_P && NOTE_INSN_DELETED? Something different? The both ways will work. But I like more NOTE_P && NOTE_INSN_DELETED to be more specific.