rs6000.c (rs6000_xcoff_declare_object_name): Use symtab_node::get_create.
authorRichard Biener <rguenther@suse.de>
Thu, 3 Nov 2016 12:31:10 +0000 (12:31 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 3 Nov 2016 12:31:10 +0000 (08:31 -0400)
2016-11-03  Richard Biener  <rguenther@suse.de>

        * config/rs6000/rs6000.c (rs6000_xcoff_declare_object_name): Use
        symtab_node::get_create.

From-SVN: r241816

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 22b16c5..ab31eee 100644 (file)
@@ -1,3 +1,8 @@
+2016-11-03  Richard Biener  <rguenther@suse.de>
+
+       * config/rs6000/rs6000.c (rs6000_xcoff_declare_object_name): Use
+       symtab_node::get_create.
+
 2016-11-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * rtlanal.c (nonzero_bits1): Fix WORD_REGISTER_OPERATIONS condition.
index 49985f1..340e261 100644 (file)
@@ -35414,8 +35414,8 @@ rs6000_xcoff_declare_object_name (FILE *file, const char *name, tree decl)
   struct declare_alias_data data = {file, false};
   RS6000_OUTPUT_BASENAME (file, name);
   fputs (":\n", file);
-  symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias,
-                                                       &data, true);
+  symtab_node::get_create (decl)->call_for_symbol_and_aliases (rs6000_declare_alias,
+                                                              &data, true);
 }
 
 /* Overide the default 'SYMBOL-.' syntax with AIX compatible 'SYMBOL-$'. */