[Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783

abel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 18 09:18:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957

--- Comment #7 from Andrey Belevantsev <abel at gcc dot gnu.org> 2013-04-18 09:18:17 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > Created attachment 29886 [details]
> > proposed patch
> 
> You should probably make this a static inline function and add a comment
> with a rationale ;-)

Actually I've made the full-blown function, the reason being that I forgot that
we keep the history vector sorted, so it's not enough to check only the last
element, you'd need to check all of them.  Took some time from digging this
from Itanium slow testing though :-) I will add a comment, sure.



More information about the Gcc-bugs mailing list