blob: 1bef7e7a31f6575a0ffe371840f320650fa5ac2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-forwprop1" } */
int foo (double xx, double xy)
{
int p = xx < xy;
int np = !p;
if (np)
return 5;
return 2;
}
/* { dg-final { scan-tree-dump "if \\\(x" "forwprop1" } } */
|