From 564a129d2270cd6cd14683013483b1471f0d04f1 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 5 May 2010 15:33:11 -0400 Subject: 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 --- gcc/c-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/c-common.h') 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); -- cgit v1.1