OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gfortran.dg/] [transfer_simplify_5.f90] - Blame information for rev 694

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! Tests the fix for PR32689, in which the TRANSFER with MOLD
3
! an array variable, as below, did not simplify.
4
!
5
! Contributed by Harald Anlauf 
6
!
7
program gfcbug67
8
  implicit none
9
 
10
  type mytype
11
     integer, pointer :: i(:) => NULL ()
12
  end type mytype
13
  type(mytype) :: t
14
 
15
  print *, size (transfer (1, t% i))
16
end program gfcbug67

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.