[Bug tree-optimization/46864] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions

2010-12-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46864

Jakub Jelinek  changed:

   What|Removed |Added

  Known to work||4.6.0
Summary|[4.5/4.6 Regression] ICE:   |[4.5 Regression] ICE:
   |verify_stmts failed:|verify_stmts failed:
   |statement marked for throw, |statement marked for throw,
   |but doesn't with|but doesn't with
   |-fnon-call-exceptions   |-fnon-call-exceptions
  Known to fail|4.6.0   |

--- Comment #5 from Jakub Jelinek  2010-12-10 
12:45:26 UTC ---
Fixed on the trunk so far.


[Bug tree-optimization/46864] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions

2011-01-16 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46864

--- Comment #6 from Jakub Jelinek  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  

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


[Bug tree-optimization/46864] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw, but doesn't with -fnon-call-exceptions

2011-01-17 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46864

Jakub Jelinek  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #7 from Jakub Jelinek  2011-01-17 
08:26:04 UTC ---
Fixed.