blob: cc9dde95255b4c2c3e518ebf20367235374f826e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-optimized" } */
extern void abort (void);
unsigned int
foo (unsigned int x, unsigned int y)
{
unsigned int z;
if (x >= y)
return 1;
if (y == x)
abort ();
return 0;
}
/* { dg-final { scan-tree-dump-not "abort" "optimized" } } */
|