summaryrefslogtreecommitdiffstats
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index eba9ee6295a..9d67d342b5e 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3447,10 +3447,6 @@ start_decl (declarator, declspecs, initialized, 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);
@@ -6021,10 +6017,6 @@ start_function (declspecs, declarator, attributes)
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;
OpenPOWER on IntegriCloud