diff options
author | Nick Clifton <nickc@cygnus.com> | 1998-10-01 10:44:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1998-10-01 10:44:46 +0000 |
commit | 3a846e6e06590d0c593708b53a8aee20ac2fea32 (patch) | |
tree | bd0cd9f928875af646aff412d4d1e935366f135d /gcc/c-decl.c | |
parent | 047fb009cae97b698edfbc03471c124c37211a94 (diff) | |
download | gcc-3a846e6e06590d0c593708b53a8aee20ac2fea32.zip gcc-3a846e6e06590d0c593708b53a8aee20ac2fea32.tar.gz gcc-3a846e6e06590d0c593708b53a8aee20ac2fea32.tar.bz2 |
Add invocation of SET_DEFAULT_DECL_ATTRIBUTES, if defined.
From-SVN: r22709
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index f05dc27a..0b6e018 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -6423,6 +6423,10 @@ start_function (declspecs, declarator, prefix_attributes, attributes, nested) except for defining how to inline. So set DECL_EXTERNAL in that case. */ DECL_EXTERNAL (decl1) = current_extern_inline; +#ifdef SET_DEFAULT_DECL_ATTRIBUTES + SET_DEFAULT_DECL_ATTRIBUTES (decl1, attributes); +#endif + /* This function exists in static storage. (This does not mean `static' in the C sense!) */ TREE_STATIC (decl1) = 1; |