From 7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 13 Nov 2026 12:01:17 +0100 Subject: Create parser stubs --- gcc/gcc/elna-builtins.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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(info.is_extern); - TREE_PUBLIC(declaration_tree) = static_cast(info.exported); + TREE_PUBLIC(declaration_tree) = static_cast(info.exported || info.is_extern); symbols->enter(name, declaration_tree); -- cgit v1.2.3