diff options
author | sandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-03 20:21:26 +0000 |
---|---|---|
committer | sandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-03 20:21:26 +0000 |
commit | 090eadfb9e45d5011fc7ab8f0e28aa0a172bc7f1 (patch) | |
tree | cd68349cb850e06995ade8d1a0ac880a25aa6a00 /gcc/target.def | |
parent | 35366896f5735466efd5a2a426690b7dc6a42298 (diff) | |
download | gcc-090eadfb9e45d5011fc7ab8f0e28aa0a172bc7f1.tar.gz |
2013-03-03 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments;
the attribute is now called "target" instead of "option".
(TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma.
* doc/tm.texi.in (Target Attributes): Likewise document the correct
attribute/pragma name for TARGET_OPTION_VALID_P and
TARGET_OPTION_PRAGMA_PARSE. Also copy-edit and correct markup.
* doc/tm.texi: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/target.def b/gcc/target.def index 63ba55e98d0..831cad8119b 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -2774,9 +2774,9 @@ HOOK_VECTOR_END (emutls) #define HOOK_PREFIX "TARGET_OPTION_" HOOK_VECTOR (TARGET_OPTION_HOOKS, target_option_hooks) -/* Function to validate the attribute((option(...))) strings or NULL. If - the option is validated, it is assumed that DECL_FUNCTION_SPECIFIC will - be filled in in the function decl node. */ +/* Function to validate the attribute((target(...))) strings. If + the option is validated, the hook should also fill in + DECL_FUNCTION_SPECIFIC_TARGET in the function decl node. */ DEFHOOK (valid_attribute_p, "", @@ -2803,11 +2803,10 @@ DEFHOOK "", void, (FILE *file, int indent, struct cl_target_option *ptr), NULL) -/* Function to parse arguments to be validated for #pragma option, and to +/* Function to parse arguments to be validated for #pragma target, and to change the state if the options are valid. If the first argument is NULL, the second argument specifies the default options to use. Return true if the options are valid, and set the current state. */ -/* ??? The documentation in tm.texi is incomplete. */ DEFHOOK (pragma_parse, "", |