dejagnu f-torture compiler options
Jeffrey A Law
law@cygnus.com
Fri Jun 12 13:45:00 GMT 1998
In message < rzqra0u4trr.fsf@djlvig.dl.ac.uk >you write:
> The Fortran testsuite currently doesn't support the `special options'
> stuff in test case comments per recent discussion (which I've lost,
> sorry, and the archive search doesn't reveal). Should one just hack
> this out of old-dejagnu.exp into f-torture.exp (pretending one speaks
> Tcl) or do something else?
How many tests do we have that need special options? If the number
is small we can probably do what we want by using a special driver
for those tests.
If the number is large or expected to grow, then we'll want to do
something along the lines of old-deja or gcc.dg
> Also, f-torture.exp doesn't exercise -g. Is it necessary/wise to add
> a separate `{ -O2 -g }' item to the list (like c-torture) rather than
> just tagging `-g' onto one of the others?
6 one way, half a dozen the other. I think we just add {-O2 -g} to
the list of TORTURE_OPTIONS.
> [I'd be happy to know if I should be leaving this to someone else!]
Well, we probabl should have updated f-torture for the -g stuff when
we updated c-torture. Got to get everyone in the habit of changing
them together :-)
jeff
More information about the Gcc
mailing list