2016-07-26 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70920-3.c
blob8b24cbc734ffa875ffb94047a5011feee89b2681
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple -Wno-int-to-pointer-cast" } */
4 #include <stdint.h>
6 void f1();
7 void f2();
9 void
10 foo (int a)
12 if ((int *) a == 0)
14 f1 ();
15 if (a)
16 f2 ();
20 /* { dg-final { scan-tree-dump "if \\(a == 0\\)" "gimple" } } */