2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr35691-2.c
blob70f68a685d789235d63615bda49467f9e543a4f2
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-forwprop-details" } */
4 int foo(int z0, unsigned z1)
6 int t0 = (z0 != 0);
7 int t1 = (z1 != 0);
8 int t2 = (t0 | t1);
9 return t2;
12 /* { dg-final { scan-tree-dump "gimple_simplified to _\[0-9\]* = \\(int\\) z1_\[0-9\]*\\(D\\);" "forwprop1" } } */