diff options
author | Janus Weil <janus@gcc.gnu.org> | 2011-09-07 15:31:04 +0200 |
---|---|---|
committer | Janus Weil <janus@gcc.gnu.org> | 2011-09-07 15:31:04 +0200 |
commit | b7b1babae9578b47dfcbae36164d3da72dd17525 (patch) | |
tree | db2e0def37a68832799ac91794ea2fd905b9d4c9 | |
parent | e8642944338d59542a7c0462a4745cda93affb6e (diff) | |
download | gcc-b7b1babae9578b47dfcbae36164d3da72dd17525.zip gcc-b7b1babae9578b47dfcbae36164d3da72dd17525.tar.gz gcc-b7b1babae9578b47dfcbae36164d3da72dd17525.tar.bz2 |
re PR fortran/50288 (FAIL: gfortran.dg/class_45b.f03)
2011-09-07 Janus Weil <janus@gcc.gnu.org>
PR fortran/50288
* gfortran.dg/class_4c.f03: Modified ("dg-do link" and "dg-final").
* gfortran.dg/class_4d.f03: Deleted.
* gfortran.dg/class_45b.f03: Modififed ("dg-do link").
From-SVN: r178635
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/class_45b.f03 | 2 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/class_4c.f03 | 6 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/class_4d.f03 | 15 |
4 files changed, 12 insertions, 18 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 82b748f..322f817 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2011-09-07 Janus Weil <janus@gcc.gnu.org> + + PR fortran/50288 + * gfortran.dg/class_4c.f03: Modified ("dg-do link" and "dg-final"). + * gfortran.dg/class_4d.f03: Deleted. + * gfortran.dg/class_45b.f03: Modififed ("dg-do link"). + 2011-09-07 Richard Guenther <rguenther@suse.de> * gcc.dg/tree-ssa/forwprop-16.c: New testcase. diff --git a/gcc/testsuite/gfortran.dg/class_45b.f03 b/gcc/testsuite/gfortran.dg/class_45b.f03 index e37fa96..ed0d674 100644 --- a/gcc/testsuite/gfortran.dg/class_45b.f03 +++ b/gcc/testsuite/gfortran.dg/class_45b.f03 @@ -1,4 +1,4 @@ -! { dg-do run } +! { dg-do link } ! { dg-additional-sources class_45a.f03 } ! ! PR 50227: [4.7 Regression] [OOP] ICE-on-valid with allocatable class variable diff --git a/gcc/testsuite/gfortran.dg/class_4c.f03 b/gcc/testsuite/gfortran.dg/class_4c.f03 index c76b3ab..c28a32b 100644 --- a/gcc/testsuite/gfortran.dg/class_4c.f03 +++ b/gcc/testsuite/gfortran.dg/class_4c.f03 @@ -1,11 +1,11 @@ -! { dg-do run } +! { dg-do link } ! { dg-additional-sources class_4a.f03 class_4b.f03 } ! ! Test the fix for PR41583, in which the different source files ! would generate the same 'vindex' for different class declared ! types. ! -! The test comprises class_4a, class_4b class_4c and class_4d.f03 +! The test comprises class_4a, class_4b and class_4c.f03 ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> ! @@ -27,3 +27,5 @@ end select print *, i end + +! { dg-final { cleanup-modules "m m2 m3" } } diff --git a/gcc/testsuite/gfortran.dg/class_4d.f03 b/gcc/testsuite/gfortran.dg/class_4d.f03 deleted file mode 100644 index 80934b6..0000000 --- a/gcc/testsuite/gfortran.dg/class_4d.f03 +++ /dev/null @@ -1,15 +0,0 @@ -! { dg-do compile } -! -! Test the fix for PR41583, in which the different source files -! would generate the same 'vindex' for different class declared -! types. -! -! This file does nothing other than clean up the modules. -! -! Contributed by Tobias Burnus <burnus@gcc.gnu.org> -! -module m3 - type t - end type t -end module m3 -! { dg-final { cleanup-modules "m m2 m3" } } |