aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/gfortran.dg/public_private_module_3.f905
-rw-r--r--gcc/testsuite/gfortran.dg/public_private_module_4.f905
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1f70676..b07f556 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2012-04-16 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/52916
+ * gfortran.dg/public_private_module_3.f90: Use dg-additional-sources
+ to include public_private_module_4.f90.
+ * gfortran.dg/public_private_module_4.f90: Skip this test on all
+ targets.
+
2012-04-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/49152
diff --git a/gcc/testsuite/gfortran.dg/public_private_module_3.f90 b/gcc/testsuite/gfortran.dg/public_private_module_3.f90
index f003225..03f00c2 100644
--- a/gcc/testsuite/gfortran.dg/public_private_module_3.f90
+++ b/gcc/testsuite/gfortran.dg/public_private_module_3.f90
@@ -1,6 +1,5 @@
-! { dg-do compile }
-!
-! To be used by public_private_module_4.f90
+! { dg-do link }
+! { dg-additional-sources public_private_module_4.f90 }
!
! PR fortran/52916
! Cf. PR fortran/40973
diff --git a/gcc/testsuite/gfortran.dg/public_private_module_4.f90 b/gcc/testsuite/gfortran.dg/public_private_module_4.f90
index 6b5519c..82600e4 100644
--- a/gcc/testsuite/gfortran.dg/public_private_module_4.f90
+++ b/gcc/testsuite/gfortran.dg/public_private_module_4.f90
@@ -1,5 +1,6 @@
-! { dg-do link }
-! { dg-additional-sources public_private_module_3.f90 }
+! { dg-do compile { target skip-all-targets } }
+!
+! To be used by public_private_module_3.f90
!
! PR fortran/52916
! Cf. PR fortran/40973