PR go/89227
* go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an
only-inline function.
From-SVN: r269449
+2019-03-06 Ian Lance Taylor <iant@golang.org>
+
+ PR go/89227
+ * go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an
+ only-inline function.
+
2019-02-15 Cherry Zhang <cherryyz@google.com>
* go-gcc.cc (Gcc_backend::Gcc_backend): Define __builtin_dwarf_cfa
resolve_unique_section(decl, 0, 1);
if ((flags & function_only_inline) != 0)
{
+ TREE_PUBLIC (decl) = 1;
DECL_EXTERNAL(decl) = 1;
DECL_DECLARED_INLINE_P(decl) = 1;
}