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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 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.