RFC Additional flags in g77 testsuite
Billinghurst, David (CRTS)
David.Billinghurst@riotinto.com.au
Tue Jun 27 21:55:00 GMT 2000
After the recent discussion on gcc-patches on additional flags for the gcc
testsuite http://gcc.gnu.org/ml/gcc-patches/2000-06/msg00864.html I tried
the same for g77.
In g77.f-torture/compile you can add compiler flags with a *.x file like
lappend options "-ffast-math"
return 0
To do the same in g77.f-torture/execute we will need to patch
gcc/testsuite/lib/f-torture.exp to make it similar to c-torture.exp, so we
can use a *.x file like
set additional_flags "-ffast-math"
return 0
Before I submit a patch, any comments on the variable name to use.
Exixsting practice isn't consistent. In c-torture/compile and
f-torture/compile you modify "options", but in c-torture/execute you modify
additional_flags as options is already used.
+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone: +61 3 9469 0642
FAX: +61 3 9462 2700
Email: David.Billinghurst@riotinto.com.au
More information about the Gcc
mailing list