diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cgraph.h | 5 | ||||
-rw-r--r-- | gcc/symtab.c | 8 |
3 files changed, 15 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d9880c..5388118 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 77aa880..be4eaee 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 f0baf08..342cc36 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. */ |