diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-30 12:28:25 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-30 12:29:01 +0000 |
commit | d795a8ef4e02a96ab060b330d38ef923a198c7ce (patch) | |
tree | 776eea468e3c296dd5675068fe760fbaf683facb /gcc/doc/sourcebuild.texi | |
parent | 4bcded23eb87c55a1a3fcd23d5629a0c35aee4ba (diff) | |
download | gcc-d795a8ef4e02a96ab060b330d38ef923a198c7ce.zip gcc-d795a8ef4e02a96ab060b330d38ef923a198c7ce.tar.gz gcc-d795a8ef4e02a96ab060b330d38ef923a198c7ce.tar.bz2 |
doc: Fix description of dg-require-effective-target
The optional target selector for the dg-require-effective-target
directive needs to be { target selector } not just { selector } as
currently documented.
gcc/ChangeLog:
* doc/sourcebuild.texi (Directives): Fix description of
dg-require-effective-target to include "target" in selector.
Diffstat (limited to 'gcc/doc/sourcebuild.texi')
-rw-r--r-- | gcc/doc/sourcebuild.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 852eaa2..4f7af20 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -1141,7 +1141,7 @@ but not if @code{-fpic} is also present: /* @{ dg-skip-if "" @{ *-*-* @} @{ "-O2 -g" "-O3 -g" @} @{ "-fpic" @} @} */ @end smallexample -@item @{ dg-require-effective-target @var{keyword} [@{ @var{selector} @}] @} +@item @{ dg-require-effective-target @var{keyword} [@{ target @var{selector} @}] @} Skip the test if the test target, including current multilib flags, is not covered by the effective-target keyword. If the directive includes the optional @samp{@{ @var{selector} @}} |