From f09db6e0cab711b2a0f3401174169452c2c92157 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 2 Sep 1998 09:59:57 +0000 Subject: Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB. Add INSERT_ATTRIBUTES macro. From-SVN: r22165 --- gcc/c-common.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gcc/c-common.c') diff --git a/gcc/c-common.c b/gcc/c-common.c index 8916958..a5f738b 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -420,6 +420,10 @@ decl_attributes (node, attributes, prefix_attributes) else if (TREE_CODE_CLASS (TREE_CODE (node)) == 't') type = node, is_type = 1; +#ifdef INSERT_ATTRIBUTES + INSERT_ATTRIBUTES (node, & attributes, & prefix_attributes); +#endif + attributes = chainon (prefix_attributes, attributes); for (a = attributes; a; a = TREE_CHAIN (a)) @@ -644,7 +648,7 @@ decl_attributes (node, attributes, prefix_attributes) = (args ? TREE_VALUE (args) : size_int (BIGGEST_ALIGNMENT / BITS_PER_UNIT)); int align; - + /* Strip any NOPs of any kind. */ while (TREE_CODE (align_expr) == NOP_EXPR || TREE_CODE (align_expr) == CONVERT_EXPR -- cgit v1.1