aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-05-22 09:45:17 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-05-22 07:45:17 +0000
commit6d86ddc4d64c2f81dcc62f2778796c461ca3aecb (patch)
tree230047d254178cde05eda9a39db8227ac56b8a1d /gcc/doc
parenta8aa828b6e94aecb188786f49e8b1b7a7cfb5391 (diff)
downloadgcc-6d86ddc4d64c2f81dcc62f2778796c461ca3aecb.zip
gcc-6d86ddc4d64c2f81dcc62f2778796c461ca3aecb.tar.gz
gcc-6d86ddc4d64c2f81dcc62f2778796c461ca3aecb.tar.bz2
Strip target_clones in copy attribute (PR lto/90500).
2019-05-22 Martin Liska <mliska@suse.cz> PR lto/90500 * c-attribs.c (handle_copy_attribute): Do not copy target_clones attribute. 2019-05-22 Martin Liska <mliska@suse.cz> PR lto/90500 * gcc.target/i386/pr90500-1.c: Make the test-case valid now. 2019-05-22 Martin Liska <mliska@suse.cz> PR lto/90500 * doc/extend.texi: Document the change. From-SVN: r271504
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/extend.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index e8563fd..7819766 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -2749,7 +2749,8 @@ or variable) must match the kind of symbol to which the argument refers.
The @code{copy} attribute copies only syntactic and semantic attributes
but not attributes that affect a symbol's linkage or visibility such as
@code{alias}, @code{visibility}, or @code{weak}. The @code{deprecated}
-attribute is also not copied. @xref{Common Type Attributes}.
+and @code{target_clones} attribute are also not copied.
+@xref{Common Type Attributes}.
@xref{Common Variable Attributes}.
For example, the @var{StrongAlias} macro below makes use of the @code{alias}