https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102349

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
The following helps:

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index b0ec8108007..89868c39e27 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -21728,7 +21728,7 @@ rs6000_xcoff_encode_section_info (tree decl, rtx rtl,
int first)
   if (decl
       && DECL_P (decl)
       && VAR_OR_FUNCTION_DECL_P (decl)
-      && symtab_node::get (decl)->alias == 0
+      && symtab_node::get_create (decl)->alias == 0
       && symname[strlen (symname) - 1] != ']')
     {
       const char *smclass = NULL;

Reply via email to