diff options
author | Nick Clifton <nickc@cygnus.com> | 1998-09-02 09:59:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1998-09-02 09:59:57 +0000 |
commit | f09db6e0cab711b2a0f3401174169452c2c92157 (patch) | |
tree | 918fb38ee8db4c60c48c8398ff8413404b9a7bcf /gcc/c-common.c | |
parent | 56420c2cf3ff7643dd699174648ca409420b79d2 (diff) | |
download | gcc-f09db6e0cab711b2a0f3401174169452c2c92157.tar.gz |
Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB.
Add INSERT_ATTRIBUTES macro.
From-SVN: r22165
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index 89169581ac3..a5f738bdf5c 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 |