gcc/testsuite/gfortran.dg/lto/pr79108_0.f90
raw| 1 | ! { dg-lto-do link } |
| 2 | ! { dg-require-effective-target lto_incremental } |
| 3 | ! { dg-lto-options {{ -Ofast -flto --param ggc-min-expand=0 --param ggc-min-heapsize=0 }} } |
| 4 | ! { dg-extra-ld-options "-r" } |
| 5 | |
| 6 | MODULE Errorcheck_mod |
| 7 | CONTAINS |
| 8 | SUBROUTINE Check_open(ios, outputstr, errortype) |
| 9 | character(len=*), intent(in) :: outputstr |
| 10 | if (ios > 0 .AND. errortype == FATAL) then |
| 11 | write(*,*) 'The value of ios was:', ios |
| 12 | end if |
| 13 | END SUBROUTINE Check_open |
| 14 | END MODULE Errorcheck_mod |
| 15 |