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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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