]> gcc.gnu.org Git - gcc.git/commitdiff
IPA C++ refactoring fix.
authorMartin Liska <mliska@suse.cz>
Thu, 24 Jul 2014 13:54:06 +0000 (15:54 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 24 Jul 2014 13:54:06 +0000 (13:54 +0000)
* cgraphunit.c (compile): Correct function used.
        * rs6000.c (rs6000_xcoff_declare_function_name): Correct symtab_node funtion used.
        (rs6000_xcoff_declare_object_name): Likewise.

From-SVN: r212993

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

index 1079c7fb6fc12e1e5cdc290d1aadb8720b36c3f0..85f18e78c4fa62a63a82f9495fd7becb46b4bbe7 100644 (file)
@@ -1,3 +1,9 @@
+2014-07-24  Martin Liska  <mliska@suse.cz>
+
+       * rs6000.c (rs6000_xcoff_declare_function_name): Correct symtab_node
+       funtion used.
+       (rs6000_xcoff_declare_object_name): Likewise.
+
 2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>
 
        * mt-nios2-elf: New file.
index 893100c81b190259abc115c25b139f95408cc51b..cee82abe9d463b8dfaf38a6714944b1998489fe8 100644 (file)
@@ -1,3 +1,7 @@
+2014-07-24  Martin Liska  <mliska@suse.cz>
+
+       * cgraphunit.c (compile): Correct function used.
+
 2014-07-24  Jan Hubicka  <hubicka@ucw.cz>
 
        * lto-streamer-out.c (tree_is_indexable): Consider IMPORTED_DECL
index 34f4c81eb84e003cfc63a60ff1ddeaa20c0e45d2..3080b9a5921fb4e9717c94e65d7dbe063470e378 100644 (file)
@@ -2246,7 +2246,7 @@ compile (void)
           (DECL_ASSEMBLER_NAME (node->decl)) = 1;
        TREE_CHAIN (DECL_ASSEMBLER_NAME (node->decl))
           = (node->alias_target ? node->alias_target
-             : DECL_ASSEMBLER_NAME (symtab_alias_target (node)->decl));
+             : DECL_ASSEMBLER_NAME (node->get_alias_target ()->decl));
       }
 #endif
 
index d7bd9701aec9f5c8bc04e6cfa2bd135f26985838..2466402f33fc68ca6a46c6f7de87f032d0231144 100644 (file)
@@ -29595,7 +29595,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl)
   fputs (TARGET_32BIT ? "[DS]\n" : "[DS],3\n", file);
   RS6000_OUTPUT_BASENAME (file, buffer);
   fputs (":\n", file);
-  symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
+  symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
   fputs (TARGET_32BIT ? "\t.long ." : "\t.llong .", file);
   RS6000_OUTPUT_BASENAME (file, buffer);
   fputs (", TOC[tc0], 0\n", file);
@@ -29605,7 +29605,7 @@ rs6000_xcoff_declare_function_name (FILE *file, const char *name, tree decl)
   RS6000_OUTPUT_BASENAME (file, buffer);
   fputs (":\n", file);
   data.function_descriptor = true;
-  symtab_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
+  symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
   if (write_symbols != NO_DEBUG && !DECL_IGNORED_P (decl))
     xcoffout_declare_function (file, decl, buffer);
   return;
@@ -29621,7 +29621,7 @@ 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_for_node_and_aliases (symtab_get_node (decl), rs6000_declare_alias, &data, true);
+  symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
 }
 
 #ifdef HAVE_AS_TLS
This page took 0.141514 seconds and 5 git commands to generate.