| 1 |
-- { dg-do compile } |
| 2 |
-- { dg-options "-O -fdump-tree-optimized" } |
| 3 |
|
| 4 |
procedure Opt52 (I : Integer) is |
| 5 |
begin |
| 6 |
if I + 1 < I then |
| 7 |
raise Program_Error; |
| 8 |
end if; |
| 9 |
end; |
| 10 |
|
| 11 |
-- { dg-final { scan-tree-dump-not "check_PE_Explicit_Raise" "optimized" } } |