This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gfortran] Fix a few more dg directives in the testsuite
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 02 Apr 2007 18:21:59 +0200
- Subject: [gfortran] Fix a few more dg directives in the testsuite
This is my first post on this list, so please be indulgent!-)
2007-04-01 Dominique d'Humières <dominiq@lps.ens.fr>
* assumed_dummy_1.f90: Fix dg directive.
* char_initialiser_actual.f90: Likewise.
* nested_modules_2.f90: Likewise.
* pointer_intent_1.f90: Likewise.
* shift-alloc.f90: Likewise.
diff -up gcc-4.3-20070330/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90 gcc-4.3-work/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90
--- gcc-4.3-20070331/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90 Wed Mar 22 00:50:37 2006
+++ gcc-4.3-20070330/gcc/testsuite/gfortran.dg/assumed_dummy_1.f90 Sun Apr 1 11:12:08 2007
@@ -1,4 +1,4 @@
-! { dg do-run}
+! { dg-do run}
! Tests the fix for PRs 19358, 19477, 21211 and 21622.
!
! Note that this tests only the valid cases with explicit interfaces.
diff -up gcc-4.3-20070330/gcc/testsuite/gfortran.dg/char_initialiser_actual.f90 gcc-4.3-work/gcc/testsuite/gfortran.dg/char_initialiser_actual.f90
--- gcc-4.3-20070331/gcc/testsuite/gfortran.dg/char_initialiser_actual.f90 Sun Nov 6 21:21:28 2005
+++ gcc-4.3-20070330/gcc/testsuite/gfortran.dg/char_initialiser_actual.f90 Sun Apr 1 11:12:42 2007
@@ -1,4 +1,4 @@
-! { dg do-run }
+! { dg-do run }
! Tests passing of character array initialiser as actual argument.
! Fixes PR18109.
! Contributed by Paul Thomas pault@gcc.gnu.org
diff -up gcc-4.3-20070330/gcc/testsuite/gfortran.dg/nested_modules_2.f90 gcc-4.3-work/gcc/testsuite/gfortran.dg/nested_modules_2.f90
--- gcc-4.3-20070331/gcc/testsuite/gfortran.dg/nested_modules_2.f90 Wed Mar 22 00:50:37 2006
+++ gcc-4.3-20070330/gcc/testsuite/gfortran.dg/nested_modules_2.f90 Sun Apr 1 11:13:04 2007
@@ -1,4 +1,4 @@
-! { dg do-run }
+! { dg-do run }
! This tests the patch for PR16861.
!
! Contributed by Paul Thomas <pault@gcc.gnu.org>
diff -up gcc-4.3-20070330/gcc/testsuite/gfortran.dg/pointer_intent_1.f90 gcc-4.3-work/gcc/testsuite/gfortran.dg/pointer_intent_1.f90
--- gcc-4.3-20070331/gcc/testsuite/gfortran.dg/pointer_intent_1.f90 Fri Jan 5 10:08:37 2007
+++ gcc-4.3-20070330/gcc/testsuite/gfortran.dg/pointer_intent_1.f90 Sun Apr 1 11:13:52 2007
@@ -1,4 +1,4 @@
-! { dg-run }
+! { dg-do run }
! { dg-options "-std=f2003 -fall-intrinsics" }
! Pointer intent test
! PR fortran/29624
diff -up gcc-4.3-20070330/gcc/testsuite/gfortran.dg/shift-alloc.f90 gcc-4.3-work/gcc/testsuite/gfortran.dg/shift-alloc.f90
--- gcc-4.3-20070331/gcc/testsuite/gfortran.dg/shift-alloc.f90 Sat Jun 25 11:56:37 2005
+++ gcc-4.3-20070330/gcc/testsuite/gfortran.dg/shift-alloc.f90 Sun Apr 1 11:13:26 2007
@@ -1,4 +1,4 @@
-! { dg do-run }
+! { dg-do run }
! PR 22144: eoshift1, eoshift3 and cshift1 used to lack memory
! allocation, which caused the writes to segfault.
program main
regtest before:
=== gfortran Summary ===
# of expected passes 16913
# of unexpected failures 16
# of expected failures 7
# of unsupported tests 58
/sw/lib/gcc4/bin/gfortran version 4.3.0 20070330 (experimental)
regtest after:
=== gfortran Summary ===
# of expected passes 16978
# of unexpected failures 18
# of expected failures 7
# of unsupported tests 58
/sw/lib/gcc4/bin/gfortran version 4.3.0 20070330 (experimental)
the difference being:
FAIL: gfortran.dg/pointer_intent_1.f90 -O0 execution test
(this is pr31240)
FAIL: gfortran.dg/secnds.f -O3 -g execution test
(the infamous intermittent failure).