OSDN Git Service

2011-09-07 Janus Weil <janus@gcc.gnu.org>
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Sep 2011 13:31:04 +0000 (13:31 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Sep 2011 13:31:04 +0000 (13:31 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_45b.f03
gcc/testsuite/gfortran.dg/class_4c.f03
gcc/testsuite/gfortran.dg/class_4d.f03 [deleted file]

index 82b748f..322f817 100644 (file)
@@ -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.
index e37fa96..ed0d674 100644 (file)
@@ -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
index c76b3ab..c28a32b 100644 (file)
@@ -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 (file)
index 80934b6..0000000
+++ /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" } }