Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr70920-3.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 "-fdump-tree-gimple -Wno-int-to-pointer-cast" } */ | |
3 | |
4 #include <stdint.h> | |
5 | |
6 void f1(); | |
7 void f2(); | |
8 | |
9 void | |
10 foo (int a) | |
11 { | |
12 if ((int *) a == 0) | |
13 { | |
14 f1 (); | |
15 if (a) | |
16 f2 (); | |
17 } | |
18 } | |
19 | |
20 /* { dg-final { scan-tree-dump "if \\(a == 0\\)" "gimple" } } */ |