OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! PR fortran/28415
2
! { dg-do run }
3
! { dg-options "-O2 -fno-automatic" }
4
 
5
      program foo
6
      integer arrlen
7
      arrlen = 30
8
      call bar(arrlen)
9
      stop
10
      end
11
 
12
      subroutine bar(arg)
13
      integer arg
14
      double precision arr(arg)
15
      do i = 1, arg
16
         arr(i) = 1.0d0
17
      enddo
18
      do i = 1, arg
19
         write(*,*) i, arr(i)
20
      enddo
21
      return
22
      end

powered by: WebSVN 2.1.0

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