PATCH: Include TOOL_OPTIONS in check-flags

Andrew Pinski pinskia@physics.uc.edu
Fri Jun 9 23:08:00 GMT 2006


> TOOL_OPTIONS are not currently checked by check-flags, which is used  
> for e.g. dg-skip-if.  This means that tests which do something like / 
> * { dg-skip-if "" { *-*-* } { "-m64" } { "" } } */ will not be  
> skipped if -m64 is included via runtest --tool_opts="-m64".

--tools_opts="-m64" is the wrong way to run the testsuite with -m64.

The correct way to run the testsuite is RUNTESTFLAGS="--board=unix/-m64"

This is documented on the testing part of the documenation.

-- Pinski



More information about the Gcc-patches mailing list