comparison gcc/testsuite/g++.dg/torture/pr83482.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 // PR tree-optimization/83482
2 // { dg-do compile }
3
4 int _setjmp (void **);
5 void *buf[64];
6
7 void a();
8 struct b {
9 virtual long c() { return 0L; }
10 void m_fn2() { c(); }
11 } d;
12
13 void e() {
14 d.m_fn2();
15 try {
16 a();
17 _setjmp(0);
18 } catch (...) {
19 }
20 }