aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-gcc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/go-gcc.cc')
-rw-r--r--gcc/go/go-gcc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/go-gcc.cc b/gcc/go/go-gcc.cc
index 0c9cb70..97904d0 100644
--- a/gcc/go/go-gcc.cc
+++ b/gcc/go/go-gcc.cc
@@ -2374,8 +2374,8 @@ Gcc_backend::global_variable_set_init(Bvariable* var, Bexpression* expr)
// If this variable goes in a unique section, it may need to go into
// a different one now that DECL_INITIAL is set.
- if (symtab_get_node(var_decl)
- && symtab_get_node(var_decl)->implicit_section)
+ if (symtab_node::get(var_decl)
+ && symtab_node::get(var_decl)->implicit_section)
{
set_decl_section_name (var_decl, NULL);
resolve_unique_section (var_decl,