re PR tree-optimization/33593 (tree-outof-ssa moves sources of non-call exceptions...
[gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr23164.C
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 bool f();
4 struct S {
5 S();
6 ~S();
7 };
8 void g() {
9 for (;;) {
10 S s1, s2, s3, s4, s5, s6;
11 if (f())
12 continue;
13 if (f())
14 return;
15 }
16 }