[Bug rtl-optimization/70326] [6 Regression] ICE: RTL check: expected elt 3 type 'e' or 'u', have '0' (rtx note) in PATTERN, at rtl.h:1440

vmakarov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 21 17:04:00 GMT 2016


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.


More information about the Gcc-bugs mailing list