aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@gcc.gnu.org>1998-02-18 05:38:57 -0500
committerBrendan Kehoe <brendan@gcc.gnu.org>1998-02-18 05:38:57 -0500
commitd9525bec09ede003c7bf29bc0ceef27ec083e4a9 (patch)
tree0c6d9928460c8ea947b19cb363645ecf536b2a56 /gcc/tree.h
parentf9a366acb519c4d2652cac65d3644030b2223e28 (diff)
downloadgcc-d9525bec09ede003c7bf29bc0ceef27ec083e4a9.zip
gcc-d9525bec09ede003c7bf29bc0ceef27ec083e4a9.tar.gz
gcc-d9525bec09ede003c7bf29bc0ceef27ec083e4a9.tar.bz2
tree.h (merge_machine_{type,decl}_attributes): Declare.
./ChangeLog: * tree.h (merge_machine_{type,decl}_attributes): Declare. (split_specs_attrs, strip_attrs): Add prototypes. * tree.c (merge_machine_{type,decl}_attributes): New functions. * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes. Update olddecl's attributes too. * c-common.c (strip_attrs): New function. * c-typeck.c (common_type): Call merge_machine_type_attributes. * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P. (make_decl_rtl): Likewise. * c-decl.c (shadow_tag_warned): Call split_specs_attrs. ./cp/ChangeLog: * decl.c (duplicate_decls): Call merge_machine_decl_attributes. Update olddecl's attributes too. (strip_attrs): Remove function. * typeck.c (common_type): Call merge_machine_type_attributes. From-SVN: r18065
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 39ec303..523a750 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1335,6 +1335,17 @@ extern tree make_tree PROTO((tree, struct rtx_def *));
extern tree build_type_attribute_variant PROTO((tree, tree));
extern tree build_decl_attribute_variant PROTO((tree, tree));
+extern tree merge_machine_decl_attributes PROTO((tree, tree));
+extern tree merge_machine_type_attributes PROTO((tree, tree));
+
+/* Split a list of declspecs and attributes into two. */
+
+extern void split_specs_attrs PROTO((tree, tree *, tree *));
+
+/* Strip attributes from a list of combined specs and attrs. */
+
+extern tree strip_attrs PROTO((tree));
+
/* Return 1 if an attribute and its arguments are valid for a decl or type. */
extern int valid_machine_attribute PROTO((tree, tree, tree, tree));