Fix PR target/82066 - target pragma and attribute documentation for ARM, AArch64, and S/390

Message ID 1505325646.2286.10.camel@cavium.com
State New
Headers show
Series
  • Fix PR target/82066 - target pragma and attribute documentation for ARM, AArch64, and S/390
Related show

Commit Message

Steve Ellcey Sept. 13, 2017, 6 p.m.
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.

Comments

Jeff Law Sept. 15, 2017, 4:59 p.m. | #1
On 09/13/2017 12:00 PM, Steve Ellcey wrote:
> 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.
OK.
jeff

Patch

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