Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/tree-ssa/nothrow-1.C @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O1 -fdump-tree-cfg" } */ | |
3 /* { dg-add-options bind_pic_locally } */ | |
4 | |
5 double a; | |
6 void t() | |
7 { | |
8 a=1; | |
9 } | |
10 void t1(void); | |
11 void abort(void); | |
12 | |
13 void q() | |
14 { | |
15 try { | |
16 t(); | |
17 } | |
18 catch (...) {abort();} | |
19 } | |
20 /* We shouldnotice nothrow attribute. */ | |
21 /* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */ |