aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1998-06-29 15:40:49 -0600
committerJeff Law <law@gcc.gnu.org>1998-06-29 15:40:49 -0600
commit9ec36da574f8272705a3ead59bbd289f23793429 (patch)
tree1ec056a51ca5f7af70d48889aab8bbf9c1f9d9aa /gcc/c-decl.c
parentad2c71b764c066471608c85695392c7fb49c7bc7 (diff)
downloadgcc-9ec36da574f8272705a3ead59bbd289f23793429.zip
gcc-9ec36da574f8272705a3ead59bbd289f23793429.tar.gz
gcc-9ec36da574f8272705a3ead59bbd289f23793429.tar.bz2
* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
details. From-SVN: r20808
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 15eb740..bd4e7a2 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3798,6 +3798,10 @@ start_decl (declarator, declspecs, initialized, attributes, prefix_attributes)
if (! flag_no_common || ! TREE_PUBLIC (decl))
DECL_COMMON (decl) = 1;
+#ifdef SET_DEFAULT_DECL_ATTRIBUTES
+ SET_DEFAULT_DECL_ATTRIBUTES (decl, attributes);
+#endif
+
/* Set attributes here so if duplicate decl, will have proper attributes. */
decl_attributes (decl, attributes, prefix_attributes);