Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr42918.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 debug/42918 */ |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -fcompare-debug -ftracer" } */ | |
4 | |
5 extern int fi (void); | |
6 extern void fv (void); | |
7 | |
8 int | |
9 f (int i, int j) | |
10 { | |
11 if (!j) | |
12 { | |
13 fv (); | |
14 goto lab; | |
15 } | |
16 i = fi (); | |
17 if (i == j) | |
18 fv (); | |
19 lab: | |
20 return i; | |
21 } |