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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! This tests the fix for PR29565, which failed in the gimplifier
3
! with the third call to has_read_key because this lost the first
4
! temporary array declaration from the current context.
5
!
6
! Contributed by William Mitchell  
7
!
8
  type element_t
9
    integer :: gid
10
  end type element_t
11
 
12
  type(element_t) :: element(1)
13
   call hash_read_key(element%gid)
14
   call hash_read_key(element%gid)
15
   call hash_read_key(element%gid)
16
contains
17
  subroutine hash_read_key(key)
18
    integer, intent(out) :: key(1)
19
  end subroutine hash_read_key
20
end

powered by: WebSVN 2.1.0

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