summaryrefslogtreecommitdiff
path: root/gcc/doc/sourcebuild.texi
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 16:43:29 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-06-07 16:43:29 +0000
commit4c81323a46ab35bc6b432c028e59a967387f4c74 (patch)
tree7d8032282651d425299a86fe5c74b6c418d19d65 /gcc/doc/sourcebuild.texi
parent1c7f4b5399918c90f2032a15a9e80c02e0734f75 (diff)
downloadgcc-4c81323a46ab35bc6b432c028e59a967387f4c74.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174759 138bc75d-0d04-0410-961f-82ee72b054a4
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 1e02809dd65..64210c21bc9 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