aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:59:24 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1995-02-21 18:59:24 -0500
commit77cf75a8ef478208189f1da732dae2ac05aab4b8 (patch)
tree51468cbb368b96fa64bef88424059c9d5be01210 /gcc/tree.h
parent1a2927d261ab54c43786cf7470aa87146ff209ea (diff)
downloadgcc-77cf75a8ef478208189f1da732dae2ac05aab4b8.zip
gcc-77cf75a8ef478208189f1da732dae2ac05aab4b8.tar.gz
gcc-77cf75a8ef478208189f1da732dae2ac05aab4b8.tar.bz2
(union tree_decl): New field MACHINE_ATTRIBUTES.
(DECL_MACHINE_ATTRIBUTES): New macro. From-SVN: r9021
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 79d9881..d2f07d0 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -771,6 +771,9 @@ struct tree_type
containing function, or else yields NULL_TREE if the given decl has "file scope". */
#define DECL_CONTEXT(NODE) ((NODE)->decl.context)
#define DECL_FIELD_CONTEXT(NODE) ((NODE)->decl.context)
+/* In a DECL this is the field where configuration dependent machine
+ attributes are store */
+#define DECL_MACHINE_ATTRIBUTES(NODE) ((NODE)->decl.machine_attributes)
/* In a FIELD_DECL, this is the field position, counting in bits,
of the bit closest to the beginning of the structure. */
#define DECL_FIELD_BITPOS(NODE) ((NODE)->decl.arguments)
@@ -1013,6 +1016,7 @@ struct tree_decl
union tree_node *abstract_origin;
union tree_node *assembler_name;
union tree_node *section_name;
+ union tree_node *machine_attributes;
struct rtx_def *rtl; /* acts as link to register transfer language
(rtl) info */
/* For a FUNCTION_DECL, if inline, this is the size of frame needed.
@@ -1214,6 +1218,7 @@ extern tree make_tree ();
are not made. */
extern tree build_type_attribute_variant PROTO((tree, tree));
+extern tree build_decl_attribute_variant PROTO((tree, tree));
/* Given a type node TYPE, and CONSTP and VOLATILEP, return a type
for the same kind of data as TYPE describes.