URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
! { dg-do compile }
|
! { dg-do compile }
|
! Tests fix for PR25090 in which references in specification
|
! Tests fix for PR25090 in which references in specification
|
! expressions to variables that were not entry formal arguments
|
! expressions to variables that were not entry formal arguments
|
! would be missed.
|
! would be missed.
|
!
|
!
|
! Contributed by Joost VandeVondele
|
! Contributed by Joost VandeVondele
|
!
|
!
|
SUBROUTINE S1(I)
|
SUBROUTINE S1(I)
|
CHARACTER(LEN=I+J) :: a
|
CHARACTER(LEN=I+J) :: a
|
real :: x(i:j), z
|
real :: x(i:j), z
|
a = "" ! { dg-error "before the ENTRY statement in which it is a parameter" }
|
a = "" ! { dg-error "before the ENTRY statement in which it is a parameter" }
|
x = 0.0 ! { dg-error "before the ENTRY statement in which it is a parameter" }
|
x = 0.0 ! { dg-error "before the ENTRY statement in which it is a parameter" }
|
ENTRY E1(J)
|
ENTRY E1(J)
|
END SUBROUTINE S1
|
END SUBROUTINE S1
|
END
|
END
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.