aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2010-05-05 15:33:11 -0400
committerJason Merrill <jason@gcc.gnu.org>2010-05-05 15:33:11 -0400
commit564a129d2270cd6cd14683013483b1471f0d04f1 (patch)
tree2f0d1539c4a77f271f5a52bc32ed5f1726956909 /gcc/c-common.h
parent58c13acc6abf49f392d72d269e6c0a88eae25319 (diff)
downloadgcc-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/c-common.h')
-rw-r--r--gcc/c-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index e79a392..7f47c2e 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -826,7 +826,7 @@ extern void check_function_format (tree, int, tree *);
extern void set_Wformat (int);
extern tree handle_format_attribute (tree *, tree, tree, int, bool *);
extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *);
-extern bool attribute_takes_identifier_p (tree);
+extern bool attribute_takes_identifier_p (const_tree);
extern int c_common_handle_option (size_t code, const char *arg, int value);
extern bool c_common_missing_argument (const char *opt, size_t code);
extern tree c_common_type_for_mode (enum machine_mode, int);