Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/other/pr50212.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |