Document gcov-io (PR gcov-profile/84735).
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70920-4.c
blob70973cb162a1920e809d8df1adabbdec15f2fb3c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -fdump-tree-ccp1 -Wno-int-to-pointer-cast" } */
5 #include <stdint.h>
7 void f1();
8 void f2();
10 void
11 foo (int a)
13 void *cst = 0;
14 if ((int *) a == cst)
16 f1 ();
17 if (a)
18 f2 ();
22 /* { dg-final { scan-tree-dump "if \\(a_\[0-9\]*\\(D\\) == 0\\)" "ccp1" } } */