PR tree-optimization/83482
* g++.dg/torture/pr83482.C: New test.
From-SVN: r255817
+2017-12-19 Marek Polacek <polacek@redhat.com>
+
+ PR tree-optimization/83482
+ * g++.dg/torture/pr83482.C: New test.
+
2017-12-19 Martin Jambor <mjambor@suse.cz>
PR tree-optimization/83329
--- /dev/null
+// PR tree-optimization/83482
+// { dg-do compile }
+
+int _setjmp (void **);
+void *buf[64];
+
+void a();
+struct b {
+ virtual long c() { return 0L; }
+ void m_fn2() { c(); }
+} d;
+
+void e() {
+ d.m_fn2();
+ try {
+ a();
+ _setjmp(0);
+ } catch (...) {
+ }
+}