]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/80531 (RC1 bootstrap comparison failure)
authorJakub Jelinek <jakub@redhat.com>
Fri, 28 Apr 2017 11:15:55 +0000 (13:15 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 28 Apr 2017 11:15:55 +0000 (13:15 +0200)
PR bootstrap/80531
* cgraph.h (symtab_node::debug_symtab): No longer inline.
* symtab.c (symtab_node::debug_symtab): Move definition here.

From-SVN: r247367

gcc/ChangeLog
gcc/cgraph.h
gcc/symtab.c

index 1d9880cf10a19c493b19cf6dce401badf8b0d5af..5388118ec1a91bc704b98f297ebd4b84afe6eaec 100644 (file)
@@ -1,3 +1,9 @@
+2017-04-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/80531
+       * cgraph.h (symtab_node::debug_symtab): No longer inline.
+       * symtab.c (symtab_node::debug_symtab): Move definition here.
+
 2017-04-28  Richard Biener  <rguenther@suse.de>
 
        * lto-streamer.h (LTO_major_version): Bump to 7.
index 77aa8803a0adeda634bfefe287f71d91b9fd213c..be4eaee71e22aff264dac52ba4e4483a377c9122 100644 (file)
@@ -415,10 +415,7 @@ public:
   static void dump_table (FILE *);
 
   /* Dump symbol table to stderr.  */
-  static inline DEBUG_FUNCTION void debug_symtab (void)
-  {
-    dump_table (stderr);
-  }
+  static void DEBUG_FUNCTION debug_symtab (void);
 
   /* Verify symbol table for internal consistency.  */
   static DEBUG_FUNCTION void verify_symtab_nodes (void);
index f0baf0810403a7113a1060d9468d1d451eebaede..342cc36f3af05e232c420070206b04bdd816b1dc 100644 (file)
@@ -924,6 +924,14 @@ symtab_node::dump_table (FILE *f)
     node->dump (f);
 }
 
+/* Dump symbol table to stderr.  */
+
+DEBUG_FUNCTION void
+symtab_node::debug_symtab (void)
+{
+  dump_table (stderr);
+}
+
 
 /* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME.
    Return NULL if there's no such node.  */