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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [large_unit_2.f90] - Blame information for rev 862

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

Line No. Rev Author Line
1 302 jeremybenn
! { dg-do run }
2
! PR31201 Too large unit number generates wrong code
3
! Test case by Francois-Xavier Coudert  
4
      integer :: i
5
      logical :: l
6
      character(len=60) :: s
7
      open(2_8*huge(0)+20_8,file="foo",iostat=i)
8
      if (i == 0) call abort
9
      open(2_8*huge(0)+20_8,file="foo",err=99)
10
      call abort
11
 99   inquire(unit=18,opened=l)
12
      if (l) call abort
13
      end

powered by: WebSVN 2.1.0

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