testsuite: missing or wrong dg-* directives?

Harald Anlauf anlauf@gmx.de
Sun Jan 13 20:30:00 GMT 2013


On 01/12/13 22:02, Mikael Morin wrote:
> Le 08/01/2013 22:32, Harald Anlauf a écrit :
>> 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
>>
> [...]
>>
>> - Possibly missing { dg-do run }
>>
> [...]
>
> Mind sending patch and changelog to @gcc-patches ?
>

Here we go.  No failures, but additional passes because of the dg-do 
run's.  Somebody please take care of it?

Harald


2013-01-13  Harald Anlauf <anlauf@gmx.de>

	* gfortran.dg/aint_anint_1.f90: Add dg-do run.
	* gfortran.dg/bounds_check_4.f90: Likewise.
	* gfortran.dg/inquire_10.f90: Likewise.
	* gfortran.dg/minloc_3.f90: Likewise.
	* gfortran.dg/minlocval_3.f90: Likewise.
	* gfortran.dg/module_double_reuse.f90: Likewise.
	* gfortran.dg/mvbits_1.f90: Likewise.
	* gfortran.dg/oldstyle_1.f90: Likewise.
	* gfortran.dg/pr20163-2.f: Likewise.
	* gfortran.dg/save_1.f90: Likewise.
	* gfortran.dg/scan_1.f90: Likewise.
	* gfortran.dg/select_char_1.f90: Likewise.
	* gfortran.dg/shape_4.f90: Likewise.
	* gfortran.dg/coarray_29_2.f90: Fix dg-do directive.
	* gfortran.dg/function_optimize_10.f90: Likewise.
	* gfortran.dg/gomp/appendix-a/a.11.2.f90: Likewise.
	* gfortran.dg/used_types_17.f90: Likewise.
	* gfortran.dg/used_types_18.f90: Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-gfortran.diff
Type: text/x-patch
Size: 6749 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20130113/429af8f9/attachment.bin>


More information about the Fortran mailing list