| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O2 -fdump-tree-sink1-details" } */ |
| 3 |
|
| 4 |
extern void abort (void); |
| 5 |
|
| 6 |
int foo (int x, int y, int f) |
| 7 |
{ |
| 8 |
int tem = x / y; |
| 9 |
if (f) |
| 10 |
abort (); |
| 11 |
return tem; |
| 12 |
} |
| 13 |
|
| 14 |
/* { dg-final { scan-tree-dump-not "Sinking" "sink1" } } */ |