From: janus Date: Wed, 7 Sep 2011 13:31:04 +0000 (+0000) Subject: 2011-09-07 Janus Weil X-Git-Tag: upstream/4.9.2~17853 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1abc81fdc1ab82ad3f09933a3f51c743f2a61f13;p=platform%2Fupstream%2Flinaro-gcc.git 2011-09-07 Janus Weil 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"). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178635 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 + + 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 * 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 ! @@ -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 -! -module m3 - type t - end type t -end module m3 -! { dg-final { cleanup-modules "m m2 m3" } }