This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/46864] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Jan 2011 20:13:25 +0000
- Subject: [Bug tree-optimization/46864] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions
- Auto-submitted: auto-generated
- References: <bug-46864-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46864
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-16 20:12:51 UTC ---
Author: jakub
Date: Sun Jan 16 20:12:46 2011
New Revision: 168861
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168861
Log:
Backport from mainline
2010-12-10 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/46864
* tree-ssa-loop-im.c (loop_suitable_for_sm): Return false even
when there are EDGE_EH exit edges.
* g++.dg/opt/pr46864.C: New test.
Added:
branches/gcc-4_5-branch/gcc/testsuite/g++.dg/opt/pr46864.C
Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
branches/gcc-4_5-branch/gcc/tree-ssa-loop-im.c