aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cgraph.h5
-rw-r--r--gcc/symtab.c8
3 files changed, 15 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 44083590eaa..e1178f3e749 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-27 Richard Earnshaw <rearnsha@arm.com>
PR target/80530
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. */