This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/61221] [4.10 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 May 2014 11:21:26 +0000
- Subject: [Bug tree-optimization/61221] [4.10 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-61221-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61221
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Interesting ;) We do some non-sensical simplification on dead code and ICE.
But our dead-CFG compute code in SCCVN isn't up to recognizing a dead loop
because it's conservative and not optimistic.
Ultimatively this all is because of replacing a call with sth that doesn't
have a VDEF and gsi_replace/update_stmt being called which releases an SSA
name which corrupts the value-numbering lattice.