aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-11-13 12:01:17 +0100
committerEugen Wissner <belka@caraus.de>2026-11-13 13:15:30 +0100
commit7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 (patch)
treeb6e650890682831503c73608ac7fd370d2847d8a /gcc
parent0b5bd8114255e04dae27a7528a3111d6923e5fbe (diff)
downloadelna-7ab6e1021611cc6913ee4ab5faf1b31f928a65e9.tar.gz
Create parser stubs
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc/elna-builtins.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc/elna-builtins.cc b/gcc/gcc/elna-builtins.cc
index a364ce6..a1bbcea 100644
--- a/gcc/gcc/elna-builtins.cc
+++ b/gcc/gcc/elna-builtins.cc
@@ -412,7 +412,7 @@ namespace elna::gcc
tree declaration_tree = build_decl(UNKNOWN_LOCATION, VAR_DECL, get_identifier(name.c_str()), variable_type);
DECL_EXTERNAL(declaration_tree) = static_cast<unsigned>(info.is_extern);
- TREE_PUBLIC(declaration_tree) = static_cast<unsigned>(info.exported);
+ TREE_PUBLIC(declaration_tree) = static_cast<unsigned>(info.exported || info.is_extern);
symbols->enter(name, declaration_tree);