This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/42244] [4.5 Regression] var-tracking ICE for 300.twolf
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2009 15:00:28 -0000
- Subject: [Bug debug/42244] [4.5 Regression] var-tracking ICE for 300.twolf
- References: <bug-42244-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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