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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [derived_pointer_recursion.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do compile }
2
! { dg-options "-O0" }
3
!  Tests patch for PR24092 - This would ICE because of the loop in the
4
!  derived type definitions.
5
!
6
   module llo
7
      type :: it
8
         character*10  :: k
9
         integer :: c(2)
10
      end type it
11
      type :: bt
12
         type (nt), pointer :: p
13
      end type bt
14
      type :: nt
15
         type (it) :: i
16
         type (bt) :: b
17
      end type nt
18
      type (bt), pointer :: ptr
19
   end module llo
20
!  copyright 1996 Loren P. Meissner -- May be distributed if this line is included.
21
!  Linked List operations with Pointer to Pointer
22
 
23
! { dg-final { cleanup-modules "llo" } }

powered by: WebSVN 2.1.0

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