summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/c-decl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index accc0257e96..934793929a1 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -2415,6 +2415,7 @@ implicitly_declare (functionid)
DECL_EXTERNAL (decl) = 1;
TREE_PUBLIC (decl) = 1;
+ DECL_ARTIFICIAL (decl);
/* Record that we have an implicit decl and this is it. */
IDENTIFIER_IMPLICIT_DECL (functionid) = decl;