2018-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr71947-1.c
blobac8271cc574c28001bdb77ad56ac6ea22d64e36d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-tree-vrp -fdump-tree-dom-details" } */
5 int f(int x, int y)
7 int ret;
9 if (x == y)
10 ret = x ^ y;
11 else
12 ret = 1;
14 return ret;
17 /* { dg-final { scan-tree-dump "Replaced redundant expr \[^\r\n\]* with .0." "dom2" } } */