Debian Codegraph @

gcc/testsuite/g++.dg/tree-prof/partition3.C

raw
1 // PR middle-end/45566
2 // Explicit { dg-require-effective-target exceptions_enabled } so that dependent tests don't turn UNRESOLVED for '-fno-exceptions'.
3 // { dg-require-effective-target freorder }
4 // { dg-options "-O2 -fnon-call-exceptions -freorder-blocks-and-partition" }
5
6 int k;
7
8 int
9 main ()
10 {
11 try
12 {
13 if (k)
14 throw 6;
15 }
16 catch (...)
17 {
18 }
19 }