This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RFC Additional flags in g77 testsuite
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: RFC Additional flags in g77 testsuite
- From: "Billinghurst, David (CRTS)" <David dot Billinghurst at riotinto dot com dot au>
- Date: Wed, 28 Jun 2000 04:53:35 -0000
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