Invalid "dg-do run" in the testsuite (with 2 blanks)
Manfred Schwarb
manfred99@gmx.ch
Mon Mar 25 08:27:15 GMT 2024
Am 25.03.24 um 05:53 schrieb Jerry D:
> On 3/24/24 1:19 PM, Harald Anlauf wrote:
>> Dear all,
>>
>> I noticed by chance that we have quite a lot of improperly specified do-do
>> directives in the testsuite.
>>
>> % grep "dg-do run" gcc/testsuite/gfortran.dg/ -rl|wc -l
>> 83
>>
I think this is on purpose.
The idea to use a "feature" in dejagnu to only iterate once and not
over all possible options. So execution time can be lowered a bit.
But I don't know if this hack still works, it definitely did work some years ago.
Cheers,
Manfred
>> Note that with two blanks instead of just one a testcase does not get executed.
>>
>> Does anybody want to earn the honors to change the directives and
>> check for "fallout" in the testsuite?
>>
>> Cheers,
>> Harald
>>
>
> One failure after fixing all the spaces ( sed is our friend ).
>
> FAIL: gfortran.dg/inline_matmul_1.f90 -O0 scan-tree-dump-times optimized "_gfortran_matmul" 0
>
> Jerry -
More information about the Fortran
mailing list