testsuite: missing or wrong dg-* directives?

Harald Anlauf anlauf@gmx.de
Tue Jan 8 21:32:00 GMT 2013


On 12/28/12 21:49, Harald Anlauf wrote:
> Hello all,
>
> is there a default directive that is assumed when the testsuite is run?
>
> Running an "fgrep -L" on the fortran testsuite, I found several files
> that are missing either dg-do compile or run.
>
> I also found a funny typo in gomp/appendix-a/a.11.2.f90
> ! { do-do compile }

find gfortran.dg -name "*.[fF]90" -o -name "*.[fF]" | \
      xargs fgrep -w -L 'dg-do' | \
      xargs head -1 -v

and manual inspection of the resulting output results in:

- Typos

==> gfortran.dg/coarray_29_2.f90 <==
! { dg-compile }

==> gfortran.dg/function_optimize_10.f90 <==
! { do-do run }

==> gfortran.dg/used_types_17.f90 <==
! { dg do-compile }

==> gfortran.dg/used_types_18.f90 <==
! { dg do-compile }

==> gfortran.dg/gomp/appendix-a/a.11.2.f90 <==
! { do-do compile }

- Possibly missing { dg-do run }

==> gfortran.dg/aint_anint_1.f90 <==
==> gfortran.dg/shape_4.f90 <==
==> gfortran.dg/inquire_10.f90 <==
==> gfortran.dg/scan_1.f90 <==
==> gfortran.dg/mvbits_1.f90 <==



More information about the Fortran mailing list