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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gfortran.dg/] [entry_2.f90] - Diff between revs 302 and 384

Only display areas with differences | Details | Blame | View Log

Rev 302 Rev 384
! { dg-do compile }
! { dg-do compile }
! Arguments to procedures with multiple entry points may be absent, however
! Arguments to procedures with multiple entry points may be absent, however
! they are not optional, unless explicitly maked as such.
! they are not optional, unless explicitly maked as such.
subroutine foo(i, a, b)
subroutine foo(i, a, b)
  logical a(2, 2)
  logical a(2, 2)
  logical b(1)
  logical b(1)
  ! Check we don't get an "DIM must not be optional" error
  ! Check we don't get an "DIM must not be optional" error
  a = any(b, i)
  a = any(b, i)
entry bar()
entry bar()
end subroutine
end subroutine
 
 

powered by: WebSVN 2.1.0

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