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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 694 jeremybenn
! { dg-do compile }
2
! { dg-options "-fcray-pointer" }
3
 
4
subroutine err1
5
  integer :: in_common1, in_common2, v, w, equiv1, equiv2
6
  common /in_common1/ in_common1
7
  pointer (ipt1, in_common1)            ! { dg-error "conflicts with COMMON" }
8
  pointer (ipt2, in_common2)
9
  common /in_common2/ in_common2        ! { dg-error "conflicts with COMMON" }
10
  equivalence (v, equiv1)
11
  pointer (ipt3, equiv1)                ! { dg-error "conflicts with EQUIVALENCE" }
12
  pointer (ipt4, equiv2)
13
  equivalence (w, equiv2)               ! { dg-error "conflicts with EQUIVALENCE" }
14
end subroutine err1

powered by: WebSVN 2.1.0

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