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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [equiv_constraint_7.f90] - Diff between revs 154 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 154 Rev 816
! { dg-do compile }
! { dg-do compile }
! { dg-options "-O0" }
! { dg-options "-O0" }
! PR20890 - Equivalence cannot contain more than one initialized variables.
! PR20890 - Equivalence cannot contain more than one initialized variables.
! Contributed by Joost VandeVondele 
! Contributed by Joost VandeVondele 
! Started out being in BLOCK DATA; however, blockdata variables must be in
! Started out being in BLOCK DATA; however, blockdata variables must be in
! COMMON and therefore cannot have F95 style initializers....
! COMMON and therefore cannot have F95 style initializers....
 MODULE DATA
 MODULE DATA
  INTEGER :: I=1,J=2
  INTEGER :: I=1,J=2
  EQUIVALENCE(I,J)  ! { dg-error "cannot both be in the EQUIVALENCE" }
  EQUIVALENCE(I,J)  ! { dg-error "cannot both be in the EQUIVALENCE" }
 END MODULE DATA
 END MODULE DATA
 END
 END
 
 

powered by: WebSVN 2.1.0

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