diff options
author | Jason Merrill <jason@redhat.com> | 2010-05-05 15:33:11 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2010-05-05 15:33:11 -0400 |
commit | 564a129d2270cd6cd14683013483b1471f0d04f1 (patch) | |
tree | 2f0d1539c4a77f271f5a52bc32ed5f1726956909 /gcc/doc | |
parent | 58c13acc6abf49f392d72d269e6c0a88eae25319 (diff) | |
download | gcc-564a129d2270cd6cd14683013483b1471f0d04f1.zip gcc-564a129d2270cd6cd14683013483b1471f0d04f1.tar.gz gcc-564a129d2270cd6cd14683013483b1471f0d04f1.tar.bz2 |
re PR testsuite/43758 (19 new GCC HEAD@158360 regressions)
PR testsuite/43758
* target.h (struct gcc_target): Add attribute_takes_identifier_p.
* target_def.h (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define.
(TARGET_INITIALIZER): Use it.
* c-common.c (attribute_takes_identifier_p): Call it.
* c-common.h: Update prototype.
* config/rs6000/rs6000.c (rs6000_attribute_takes_identifier_p): New.
(TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define.
From-SVN: r159079
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 3a36314..7eb49d6 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -9525,6 +9525,14 @@ entities to which these attributes are applied and the arguments they take. @end deftypevr +@deftypefn {Target Hook} bool TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P (const_tree @var{name}) +If defined, this target hook is a function which returns true if the +machine-specific attribute named @var{name} expects an identifier +given as its first argument to be passed on as a plain identifier, not +subjected to name lookup. If this is not defined, the default is +false for all machine-specific attributes. +@end deftypefn + @deftypefn {Target Hook} int TARGET_COMP_TYPE_ATTRIBUTES (const_tree @var{type1}, const_tree @var{type2}) If defined, this target hook is a function which returns zero if the attributes on @var{type1} and @var{type2} are incompatible, one if they are compatible, |