[Bug rtl-optimization/85409] [8 Regression] ICE in alloc_succs_info, at sel-sched-ir.c:4730

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 16 08:51:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85409

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The general rule is that DEBUG_INSN_P should not affect code-gen related
decisions and the compiler needs to cope with them as best as it can when the
decisions have been made.  sel-sched already violates that though.  You could
have separate lookahead for non-debug and debug insns (or space in there),
though of course need to handle the case when there are really way too many
debug insns among very few other insns (you can have millions of debug insns
with no other insns in between in corner cases).


More information about the Gcc-bugs mailing list