URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [transfer_simplify_5.f90] - Rev 312
Go to most recent revision | Compare with Previous | Blame | View Log
! { dg-do compile }
! Tests the fix for PR32689, in which the TRANSFER with MOLD
! an array variable, as below, did not simplify.
!
! Contributed by Harald Anlauf <anlauf@gmx.de>
!
program gfcbug67
implicit none
type mytype
integer, pointer :: i(:) => NULL ()
end type mytype
type(mytype) :: t
print *, size (transfer (1, t% i))
end program gfcbug67
Go to most recent revision | Compare with Previous | Blame | View Log