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).

Reply via email to