| 1 |
! { dg-do compile } |
| 2 |
! { dg-options "-fno-tree-fre -fno-tree-ccp -Og" } |
| 3 |
|
| 4 |
program simplify_transfer |
| 5 |
call pr30881 () |
| 6 |
contains |
| 7 |
subroutine pr18769 () |
| 8 |
type t |
| 9 |
end type t |
| 10 |
end subroutine pr18769 |
| 11 |
subroutine pr30881 () |
| 12 |
INTEGER, PARAMETER :: K=1 |
| 13 |
I=TRANSFER(.TRUE.,K) |
| 14 |
SELECT CASE(I) |
| 15 |
CASE(TRANSFER(.TRUE.,K)) |
| 16 |
CASE(TRANSFER(.FALSE.,K)) |
| 17 |
STOP 2 |
| 18 |
CASE DEFAULT |
| 19 |
STOP 3 |
| 20 |
END SELECT |
| 21 |
END subroutine pr30881 |
| 22 |
subroutine pr31194 () |
| 23 |
end subroutine pr31194 |
| 24 |
subroutine pr31216 () |
| 25 |
END subroutine pr31216 |
| 26 |
subroutine pr31427 () |
| 27 |
END subroutine pr31427 |
| 28 |
end program simplify_transfer |