testsuite dg-directives glitches
Manfred Schwarb
manfred99@gmx.ch
Mon Jan 28 13:54:00 GMT 2019
Am 26.01.2019 um 16:14 schrieb Dominique d'Humières:
> I have committed the following patch to the gcc-7-branch as r268294 after a regtest.
> Manfred, could you please check with your script that I did not miss
> some test in the gcc-7 and gcc-8 branches?
In the GCC-7 branch, there is
./pr68318_1.f90:2:! { dg-options "-O0"
and in the GCC-8 branch I found
./newunit_5.f90.f90:1:! { dg-do run )
Thanks,
Manfred
> TIA
>
> Dominique
> Index: gcc/testsuite/ChangeLog
> ===================================================================
> --- gcc/testsuite/ChangeLog (revision 268292)
> +++ gcc/testsuite/ChangeLog (working copy)
> @@ -1,3 +1,15 @@
> +2019-01-26 Manfred Schwarb <manfred99@gmx.ch>
> +
> + * gfortran.dg/array_function_5.f90
> + * gfortran.dg/class_66.f90
> + * gfortran.dg/dec_structure_12.f90
> + * gfortran.dg/dec_structure_14.f90
> + * gfortran.dg/dec_structure_15.f90
> + * gfortran.dg/extends_11.f03
> + * gfortran.dg/pr58968.f
> + * gfortran.dg/pr78259.f90
> + * gfortran.dg/debug/pr35154-stabs.f
> +
> 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
>
> PR target/88998
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/array_function_5.f90 gcc/testsuite/gfortran.dg/array_function_5.f90
> --- ../7_clean/gcc/testsuite/gfortran.dg/array_function_5.f90 2017-04-21 16:03:35.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/array_function_5.f90 2019-01-25 12:27:40.000000000 +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 <jvdelisle@gcc.gnu.org>
> ! Original test case by Chris <cmklaij@hetnet.nl>
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/class_66.f90 gcc/testsuite/gfortran.dg/class_66.f90
> --- ../7_clean/gcc/testsuite/gfortran.dg/class_66.f90 2017-12-07 12:49:38.000000000 +0100
> +++ gcc/testsuite/gfortran.dg/class_66.f90 2019-01-25 12:28:06.000000000 +0100
> @@ -1,4 +1,4 @@
> -! { dg- do run }
> +! { dg-do run }
> !
> ! Test the fix for PR78641 in which an ICE occured on assignment
> ! of a class array constructor to a derived type array.
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/dec_structure_12.f90 gcc/testsuite/gfortran.dg/dec_structure_12.f90
> --- ../7_clean/gcc/testsuite/gfortran.dg/dec_structure_12.f90 2017-04-21 16:03:35.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/dec_structure_12.f90 2019-01-25 12:28:58.000000000 +0100
> @@ -1,4 +1,4 @@
> -! { dg-do "compile" }
> +! { dg-do compile }
> ! { dg-options "-fdec-structure" }
> !
> ! Test a regression where multiple anonymous structures failed to
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/dec_structure_14.f90 gcc/testsuite/gfortran.dg/dec_structure_14.f90
> --- ../7_clean/gcc/testsuite/gfortran.dg/dec_structure_14.f90 2017-04-21 16:03:32.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/dec_structure_14.f90 2019-01-25 12:29:10.000000000 +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 -up ../7_clean/gcc/testsuite/gfortran.dg/dec_structure_15.f90 gcc/testsuite/gfortran.dg/dec_structure_15.f90
> --- ../7_clean/gcc/testsuite/gfortran.dg/dec_structure_15.f90 2017-04-21 16:03:29.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/dec_structure_15.f90 2019-01-25 12:29:23.000000000 +0100
> @@ -1,4 +1,4 @@
> -! { dg-do "compile" }
> +! { dg-do compile }
> ! { dg-options "" }
> !
> ! PR fortran/77584
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/extends_11.f03 gcc/testsuite/gfortran.dg/extends_11.f03
> --- ../7_clean/gcc/testsuite/gfortran.dg/extends_11.f03 2017-04-21 16:03:35.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/extends_11.f03 2019-01-25 12:29:59.000000000 +0100
> @@ -37,4 +37,4 @@
> recruit%service%education%person%ss = 9
> end
>
> -! { dg-final { scan-tree-dump-times " +recruit\\.service\\.education\\.person\\.ss =" 8 "original"} }
> +! { dg-final { scan-tree-dump-times " +recruit\\.service\\.education\\.person\\.ss =" 8 "original" } }
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/pr58968.f gcc/testsuite/gfortran.dg/pr58968.f
> --- ../7_clean/gcc/testsuite/gfortran.dg/pr58968.f 2017-04-21 16:03:35.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/pr58968.f 2019-01-25 12:30:29.000000000 +0100
> @@ -1,5 +1,5 @@
> C PR rtl-optimization/58968.f
> -C { dg-do compile { target powerpc*-*-*} }
> +C { dg-do compile { target powerpc*-*-* } }
> C { dg-options "-mcpu=power7 -O3 -w -ffast-math -funroll-loops" }
> SUBROUTINE MAKTABS(IW,SOME,LBOX1,LBOX2,LBOX3,NSPACE,NA,NB,
> * LBST,X,
> diff -up ../7_clean/gcc/testsuite/gfortran.dg/pr78259.f90 gcc/testsuite/gfortran.dg/pr78259.f90
> --- ../7_clean/gcc/testsuite/gfortran.dg/pr78259.f90 2017-04-21 16:03:34.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/pr78259.f90 2019-01-25 12:31:01.000000000 +0100
> @@ -1,4 +1,4 @@
> -! { dg-do "compile" }
> +! { dg-do compile }
> ! { dg-options "-fdec-structure" }
> !
> ! PR fortran/78259
> --- ../7_clean/gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f 2017-04-21 16:03:30.000000000 +0200
> +++ gcc/testsuite/gfortran.dg/debug/pr35154-stabs.f 2019-01-25 12:28:37.000000000 +0100
> @@ -1,7 +1,7 @@
> C Test program for common block debugging. G. Helffrich 11 July 2004.
> C { dg-do compile }
> C { dg-skip-if "No stabs" { aarch64*-*-* mmix-*-* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* } { "*" } { "" } }
> -C { dg-skip-if "No stabs" {*-*-* } { "*" } { "-gstabs" } }
> +C { dg-skip-if "No stabs" { *-*-* } { "*" } { "-gstabs" } }
> common i,j
> common /label/l,m
> i = 1
>
>
More information about the Fortran
mailing list