* tree-eh.c (lower_catch): Stop after expanding a catch-all.
testsuite/
* g++.dg/tree-ssa/pr41906.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154704
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-11-27 Michael Matz <matz@suse.de>
+
+ PR c++/41906
+ * tree-eh.c (lower_catch): Stop after expanding a catch-all.
+
2009-11-27 Richard Guenther <rguenther@suse.de>
* timevar.def (TV_LOOP_MOVE_INVARIANTS, TV_LOOP_UNSWITCH,
+2009-11-27 Michael Matz <matz@suse.de>
+
+ PR c++/41906
+ * g++.dg/tree-ssa/pr41906.C: New testcase.
+
2009-11-27 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/O16384.c: New test.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-fpermissive -w" } */
+/* We aren't interested in the warning, but in the ICE. */
+void foo();
+extern void abort (void);
+
+void bar()
+{
+ try { foo(); }
+ catch (...) {}
+ catch (int) {abort ();}
+}
x = gimple_build_goto (out_label);
gimple_seq_add_stmt (&new_seq, x);
}
+ if (!c->type_list)
+ break;
}
gimple_try_set_cleanup (tp, new_seq);