aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-28 11:42:14 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-28 11:42:14 +0000
commit8ea59fd5351974868d664d9a50666916d2930a1f (patch)
treebfcfa37529be39711c8fa30bbe367fcf0e4c4c73
parent5cf78e9b53aedec5398b531a095d1c0ca750b4c0 (diff)
PR bootstrap/80531
* cgraph.h (symtab_node::debug_symtab): No longer inline. * symtab.c (symtab_node::debug_symtab): Move definition here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@247368 138bc75d-0d04-0410-961f-82ee72b054a4
-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. */