* except.c (can_be_reached_by_runtime): Test for NULL aka bitmap.
* g++.dg/torture/pr40388.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149516
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-07-11 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/48388
+ * except.c (can_be_reached_by_runtime): Test for NULL aka bitmap.
+
2009-07-11 Jakub Jelinek <jakub@redhat.com>
PR debug/40713
if (i->type != ERT_MUST_NOT_THROW)
{
bool found = TEST_BIT (contains_stmt, i->region_number);
- if (!found)
+ if (!found && i->aka)
EXECUTE_IF_SET_IN_BITMAP (i->aka, 0, n, bi)
if (TEST_BIT (contains_stmt, n))
{
+2009-07-11 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/48388
+ * g++.dg/torture/pr40388.C: New testcase.
+
2009-07-11 Jakub Jelinek <jakub@redhat.com>
PR target/40668
--- /dev/null
+void foo();
+
+struct A
+{
+ ~A()
+ {
+ try
+ {
+ foo();
+ foo();
+ }
+ catch (...)
+ {
+ }
+ }
+};
+
+void bar()
+{
+ A a1, a2;
+}
+void foo();
+
+struct A
+{
+ ~A()
+ {
+ try
+ {
+ foo();
+ foo();
+ }
+ catch (...)
+ {
+ }
+ }
+};
+
+void bar()
+{
+ A a1, a2;
+}