Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr80823.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 /* PR middle-end/80823 ICE: verify_flow_info failed */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O3" } */ | |
4 | |
5 int a, c; | |
6 int b[1]; | |
7 static inline int | |
8 fn1() { | |
9 switch (a) | |
10 case 0: | |
11 case 2: | |
12 return 1; | |
13 return 0; | |
14 } | |
15 void fn2() { | |
16 int i; | |
17 for (;; ++i) { | |
18 c = b[i]; | |
19 int d = !fn1(); | |
20 if (d) | |
21 __asm__(""); | |
22 } | |
23 } |