This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR target/82066 - target pragma and attribute documentation for ARM, AArch64, and S/390
- From: Steve Ellcey <sellcey at cavium dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 13 Sep 2017 11:00:46 -0700
- Subject: [PATCH] Fix PR target/82066 - target pragma and attribute documentation for ARM, AArch64, and S/390
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steve dot Ellcey at cavium dot com;
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
This patch fixes the documentation issues pointed out in PR target/82066.
It may be considered obvious enough to just check in but I'd rather have
someone look it over to make sure I didn't mess something up.
Steve Ellcey
sellcey@cavium.com
2017-09-13 Steve Ellcey <sellcey@cavium.com>
PR target/82066
* doc/extend.texi (Common Function Attributes): Add
references to ARM, AArch64, and S/390 specific attributes.
(Function Specific Option Pragmas): Add AArch64 and S/390
to list of back ends that support the target pragma.
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index cd5733e..32ccace 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3299,7 +3299,8 @@ or separate the options with a comma (@samp{,}) within a single string.
The options supported are specific to each target; refer to @ref{x86
Function Attributes}, @ref{PowerPC Function Attributes},
-@ref{ARM Function Attributes},and @ref{Nios II Function Attributes},
+@ref{ARM Function Attributes}, @ref{AArch64 Function Attributes},
+@ref{Nios II Function Attributes}, and @ref{S/390 Function Attributes}
for details.
@item target_clones (@var{options})
@@ -21839,7 +21840,7 @@ function. The parenthesis around the options is optional.
@code{target} attribute and the attribute syntax.
The @code{#pragma GCC target} pragma is presently implemented for
-x86, PowerPC, and Nios II targets only.
+x86, ARM, AArch64, PowerPC, S/390, and Nios II targets only.
@end table
@table @code