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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! Tests fix for PR25090 in which references in specification
3
! expressions to variables that were not entry formal arguments
4
! would be missed.
5
!
6
! Contributed by Joost VandeVondele  
7
!
8
   SUBROUTINE S1(I)
9
   CHARACTER(LEN=I+J) :: a
10
   real :: x(i:j), z
11
   a = ""  ! { dg-error "before the ENTRY statement in which it is a parameter" }
12
   x = 0.0 ! { dg-error "before the ENTRY statement in which it is a parameter" }
13
   ENTRY E1(J)
14
   END SUBROUTINE S1
15
   END

powered by: WebSVN 2.1.0

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