aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-04-28 13:15:55 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-04-28 13:15:55 +0200
commit1ad784e2fcd350c8a9249851402c84895a6671b4 (patch)
tree64d0b004624362cfd906a23c12a5bea678895f09
parentd90d82e309bed65f1120fe5253a42e8fe332d8a1 (diff)
downloadgcc-1ad784e2fcd350c8a9249851402c84895a6671b4.zip
gcc-1ad784e2fcd350c8a9249851402c84895a6671b4.tar.gz
gcc-1ad784e2fcd350c8a9249851402c84895a6671b4.tar.bz2
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
-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 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. */