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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-fcray-pointer" }
3
!
4
! Test for PR37039, from an issue on comp.lang.fortran
5
! http://groups.google.com/group/comp.lang.fortran/msg/8cfa06f222721386
6
 
7
      subroutine test(nnode)
8
      implicit none
9
      integer n,nnode
10
      pointer(ip_tab, tab)
11
      integer , dimension(1:nnode) :: tab
12
      do n=1,nnode
13
         tab(n) = 0
14
      enddo
15
      end subroutine test

powered by: WebSVN 2.1.0

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