tree-optimization/113385 - wrong loop father with early exit vectorization
[official-gcc.git] / gcc / testsuite / gfortran.dg / cray_pointers_4.f90
blob85e7ae758c96fd8b26014604fc2c4b3f484519e9
1 ! { dg-do compile }
2 ! { dg-options "-fcray-pointer" }
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