Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr70920-1.c @ 132:d34655255c78
update gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 10:21:07 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-fdump-tree-gimple" } */ | |
3 | |
4 #include <stdint.h> | |
5 | |
6 void f1(); | |
7 void f2(); | |
8 | |
9 void | |
10 foo (int *a) | |
11 { | |
12 if ((intptr_t) a == 0) | |
13 { | |
14 f1 (); | |
15 if (a) | |
16 f2 (); | |
17 } | |
18 } | |
19 | |
20 /* { dg-final { scan-tree-dump "if \\(a == 0B\\)" "gimple" } } */ |