Dominique, thanks a lot.

I got the request to share my script, so I attached it to this mail.
Be aware that the script reports numerous false positives.
As one can expect, also gcc.dg would appreciate some love...

While cleaning up the script, I found some refinements, and another
7 glitches, see attachment.

could you take care of these as well?

Cheers, Manfred


Am 21.01.2019 um 22:47 schrieb Dominique d'Humières:
> Hi Manfred,
> 
>> could someone please check and commit?
> 
> Tested and committed as obvious at r268125.
> 
> Thanks for the patch.
> 
> Dominique
> 
> 

Attachment: testsuite-test.sh
Description: application/shellscript

diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/array_function_5.f90 gcc/gcc/testsuite/gfortran.dg/array_function_5.f90
--- gcc/gcc/testsuite/gfortran.dg.orig/array_function_5.f90	2018-02-18 01:31:19.141695840 +0100
+++ gcc/gcc/testsuite/gfortran.dg/array_function_5.f90	2019-01-22 09:28:17.522611302 +0100
@@ -1,4 +1,4 @@
-! {  dg-do run }
+! { dg-do run }
 ! PR41278 internal compiler error related to matmul and transpose
 ! Test case prepared by Jerry DeLisle  <jvdeli...@gcc.gnu.org>
 ! Original test case by Chris <cmkl...@hetnet.nl>
diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/block_16.f08 gcc/gcc/testsuite/gfortran.dg/block_16.f08
--- gcc/gcc/testsuite/gfortran.dg.orig/block_16.f08	2018-07-05 03:11:55.672355270 +0200
+++ gcc/gcc/testsuite/gfortran.dg/block_16.f08	2019-01-22 09:29:52.680915714 +0100
@@ -1,4 +1,4 @@
-! { dg-do compile )
+! { dg-do compile }
 ! PR82009  [F08] ICE with block construct
 MODULE sparse_matrix_csx_benchmark_utils
   IMPLICIT NONE
diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/dec_structure_14.f90 gcc/gcc/testsuite/gfortran.dg/dec_structure_14.f90
--- gcc/gcc/testsuite/gfortran.dg.orig/dec_structure_14.f90	2016-09-15 02:30:28.726544585 +0200
+++ gcc/gcc/testsuite/gfortran.dg/dec_structure_14.f90	2019-01-22 09:27:26.013363823 +0100
@@ -1,4 +1,4 @@
-  ! { dg-do "compile" }
+  ! { dg-do compile }
   ! { dg-options "-fdec-structure" }
   !
   ! Test that structures inside a common block do not require the
diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/namelist_96.f90 gcc/gcc/testsuite/gfortran.dg/namelist_96.f90
--- gcc/gcc/testsuite/gfortran.dg.orig/namelist_96.f90	2019-01-14 02:24:20.416290721 +0100
+++ gcc/gcc/testsuite/gfortran.dg/namelist_96.f90	2019-01-22 09:28:49.147377175 +0100
@@ -1,4 +1,4 @@
-! ( dg-do run }
+! { dg-do run }
 program pr88776
   implicit none
   character(*), parameter :: file = "pr88776.dat"
diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/newunit_5.f90.f90 gcc/gcc/testsuite/gfortran.dg/newunit_5.f90.f90
--- gcc/gcc/testsuite/gfortran.dg.orig/newunit_5.f90.f90	2018-02-18 01:31:19.177696525 +0100
+++ gcc/gcc/testsuite/gfortran.dg/newunit_5.f90.f90	2019-01-22 09:29:24.252227293 +0100
@@ -1,4 +1,4 @@
-! { dg-do run )
+! { dg-do run }
 ! PR83525 Combination of newunit and internal unit was failing.
 program main
   integer :: funit
diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/pdt_28.f03 gcc/gcc/testsuite/gfortran.dg/pdt_28.f03
--- gcc/gcc/testsuite/gfortran.dg.orig/pdt_28.f03	2018-02-18 01:30:44.149030094 +0100
+++ gcc/gcc/testsuite/gfortran.dg/pdt_28.f03	2019-01-22 09:29:07.251815605 +0100
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! ( dg-options "-fbounds-check" }
+! { dg-options "-fbounds-check" }
 !
 ! Test the fix for PR83731, where the following failed on the check for the
 ! value of the parameter 'k'.
diff -Nupr gcc/gcc/testsuite/gfortran.dg.orig/spread_simplify_1.f90 gcc/gcc/testsuite/gfortran.dg/spread_simplify_1.f90
--- gcc/gcc/testsuite/gfortran.dg.orig/spread_simplify_1.f90	2019-01-10 01:31:01.867896509 +0100
+++ gcc/gcc/testsuite/gfortran.dg/spread_simplify_1.f90	2019-01-22 09:27:58.450149402 +0100
@@ -1,4 +1,4 @@
-! { dg-do  run  }
+! { dg-do  run }
 ! PR 68426 - simplification used to fail.
   module m
     implicit none

Reply via email to