repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr50212.C
blob
c0b030d2384ada4c867a29dc74a4f503c7920772
1
// PR rtl-optimization/50212
2
// { dg-do compile }
3
// { dg-require-effective-target freorder }
4
// { dg-options "-O -fnon-call-exceptions -ftrapv -freorder-blocks-and-partition" }
5
6
void
7
foo (int n)
8
{
9
try
10
{
11
int i = 0;
12
while (i++ < n);
13
}
14
catch (...)
15
{
16
}
17
}