* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70920-2.c
blob2db9897bad51abc7dc87ebace94078e077adde03
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-forwprop-details" } */
4 #include <stdint.h>
6 void f1();
7 void f2();
9 void
10 foo (int *a)
12 int cst = 0;
13 if ((intptr_t) a == cst)
15 f1 ();
16 if (a)
17 f2 ();
21 /* { dg-final { scan-tree-dump "gimple_simplified to if \\(a_\[0-9\]*\\(D\\) == 0B\\)" "forwprop1" } } */