From: Jakub Jelinek Date: Fri, 28 Apr 2017 11:15:55 +0000 (+0200) Subject: re PR bootstrap/80531 (RC1 bootstrap comparison failure) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ad784e2fcd350c8a9249851402c84895a6671b4;p=gcc.git re PR bootstrap/80531 (RC1 bootstrap comparison failure) PR bootstrap/80531 * cgraph.h (symtab_node::debug_symtab): No longer inline. * symtab.c (symtab_node::debug_symtab): Move definition here. From-SVN: r247367 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d9880cf10a..5388118ec1a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-04-28 Jakub Jelinek + + 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 * lto-streamer.h (LTO_major_version): Bump to 7. diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 77aa8803a0a..be4eaee71e2 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -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); diff --git a/gcc/symtab.c b/gcc/symtab.c index f0baf081040..342cc36f3af 100644 --- a/gcc/symtab.c +++ b/gcc/symtab.c @@ -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. */