aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/sourcebuild.texi
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-06-07 16:43:29 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-06-07 16:43:29 +0000
commit91ffe356293c90378b8deb7e82262ade077f29dc (patch)
tree7d8032282651d425299a86fe5c74b6c418d19d65 /gcc/doc/sourcebuild.texi
parent16d80e03f9e9742e929ed65e98189c2e59ca9aa0 (diff)
downloadgcc-91ffe356293c90378b8deb7e82262ade077f29dc.zip
gcc-91ffe356293c90378b8deb7e82262ade077f29dc.tar.gz
gcc-91ffe356293c90378b8deb7e82262ade077f29dc.tar.bz2
re PR tree-optimization/48497 (gfortran.dg/graphite/vect-pr40979.f90 FAILs without -march=pentium4)
gcc: PR tree-optimization/48497 * doc/sourcebuild.texi (Directives, dg-additional-options): Document. gcc/testsuite: PR tree-optimization/48497 * lib/gcc-defs.exp (dg-additional-options): New proc. * gfortran.dg/graphite/vect-pr40979.f90: Use dg-additional-options -msse2 on 32-bit x86. From-SVN: r174759
Diffstat (limited to 'gcc/doc/sourcebuild.texi')
-rw-r--r--gcc/doc/sourcebuild.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 1e02809..64210c2 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -1016,6 +1016,11 @@ This directive does nothing on targets that enable the features by
default, or that don't provide them at all. It must come after
all @code{dg-options} directives.
For supported values of @var{feature} see @ref{Add Options, ,}.
+
+@item @{ dg-additional-options @var{options} [@{ target @var{selector} @}] @}
+This directive provides a list of compiler options, to be used
+if the target system matches @var{selector}, that are added to the default
+options used for this set of tests.
@end table
@subsubsection Modify the test timeout value