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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [defined_type_2.f90] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
!This used to ICE as we chose the wrong type for the
2
! temporary to hold type%x
3
! fortran/18157
4
MODULE bug
5
 IMPLICIT NONE
6
 TYPE :: my_type
7
   REAL :: x
8
 END TYPE
9
 TYPE (my_type), DIMENSION(3) :: t
10
 CONTAINS
11
   SUBROUTINE foo
12
   INTEGER, DIMENSION(8)        :: c(3)
13
   t(c)%x = t(c)%x
14
   RETURN
15
  END SUBROUTINE foo
16
END MODULE bug
17
 

powered by: WebSVN 2.1.0

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