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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
!
3
! PR 42888: [4.5 Regression] ICE in fold_convert_loc, at fold-const.c:2670
4
!
5
! Contributed by Harald Anlauf 
6
 
7
  implicit none
8
 
9
  type t
10
     integer :: X = -999.0   ! Real initializer!
11
  end type t
12
 
13
  type(t), allocatable :: x
14
  class(t), allocatable :: y,z
15
 
16
  allocate (x)
17
  allocate (y)
18
  allocate (t::z)
19
 
20
end

powered by: WebSVN 2.1.0

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