From f473c082d8c9ddbc0d310160f12fad3f11a229e0 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 11 Aug 2014 02:10:00 +0000 Subject: [PATCH] lto-streamer.h (struct output_block::symbol): Change from struct symtab_node to plain symtab_node. * lto-streamer.h (struct output_block::symbol): Change from struct symtab_node to plain symtab_node. (referenced_from_this_partition_p): Change first parameter from struct symtab_node to plain symtab_node. From-SVN: r213805 --- gcc/ChangeLog | 7 +++++++ gcc/lto-streamer.h | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bf03efb557..6962fd02abf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-08-10 Gerald Pfeifer + + * lto-streamer.h (struct output_block::symbol): Change from + struct symtab_node to plain symtab_node. + (referenced_from_this_partition_p): Change first parameter + from struct symtab_node to plain symtab_node. + 2014-08-10 Marek Polacek PR c/51849 diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h index 67bbfe0ffde..4bec9690bc6 100644 --- a/gcc/lto-streamer.h +++ b/gcc/lto-streamer.h @@ -636,7 +636,7 @@ struct output_block /* The current symbol that we are currently serializing. Null if we are serializing something else. */ - struct symtab_node *symbol; + symtab_node *symbol; /* These are the last file and line that were seen in the stream. If the current node differs from these, it needs to insert @@ -826,7 +826,7 @@ bool referenced_from_other_partition_p (struct ipa_ref_list *, lto_symtab_encoder_t); bool reachable_from_other_partition_p (struct cgraph_node *, lto_symtab_encoder_t); -bool referenced_from_this_partition_p (struct symtab_node *, +bool referenced_from_this_partition_p (symtab_node *, lto_symtab_encoder_t); bool reachable_from_this_partition_p (struct cgraph_node *, lto_symtab_encoder_t);