------- Comment #1 from jakub at gcc dot gnu dot org 2009-12-03 15:00 ------- Created an attachment (id=19216) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19216&action=view) gcc45-pr42444.patch
Patch that fixes the ICE (and that testcase works even with -fcompare-debug). It shouldn't regress anything, as the only cases it changes is where there would be assertion failures previously. I'm not 100% sure it is the right thing to do though, and perhaps it would be better to just drop the asserts and instead silently override d_t to ANTI_DEP if from->insn or to->insn is DEBUG_INSN. Then one wouldn't need to adjust all the callers... Alex? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42244