From 501990bbfca586dd26a941f65fce7b7a5a9440ae Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 27 Jun 2001 06:55:29 +0000 Subject: system.h (TARGET_ESC): Move to ... * system.h (TARGET_ESC): Move to ... * defaults.h (TARGET_ESC): ... here. * target-def.h (TARGET_VALID_DECL_ATTRIBUTE, TARGET_VALID_TYPE_ATTRIBUTE): Default to a no-op handler. * tree.c (default_valid_attribute_p): New. (valid_machine_attribute): Handlers can not be NULL. * tree.h (default_valid_attribute_p): New. * doc/tm.texi: Document TARGET_ESC. * cp/decl2.c (import_export_class): Update. From-SVN: r43605 --- gcc/tree.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/tree.h') diff --git a/gcc/tree.h b/gcc/tree.h index 7f2881c..0d69d6b 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2039,8 +2039,11 @@ extern tree make_tree PARAMS ((tree, struct rtx_def *)); extern tree build_type_attribute_variant PARAMS ((tree, tree)); extern tree build_decl_attribute_variant PARAMS ((tree, tree)); +/* Default versions of target-overridable functions. */ + extern tree merge_decl_attributes PARAMS ((tree, tree)); extern tree merge_type_attributes PARAMS ((tree, tree)); +extern int default_valid_attribute_p PARAMS ((tree, tree, tree, tree)); /* Split a list of declspecs and attributes into two. */ -- cgit v1.1