This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/42244] [4.5 Regression] var-tracking ICE for 300.twolf



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]