From d099d9a4d62656cd39f06617f024455f696c2844 Mon Sep 17 00:00:00 2001 From: Jan-Benedict Glaw Date: Mon, 25 Aug 2014 15:53:22 +0000 Subject: [PATCH] 2014-08.25 Jan-Benedict Glaw * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from cgraph_state conversion. From-SVN: r214429 --- gcc/ChangeLog | 9 +++++++-- gcc/config/rs6000/rs6000.c | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7743325..f22f09f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-08-25 Jan-Benedict Glaw + + * config/rs6000/rs6000.c (rs6000_return_in_msb): Fix fallout from + cgraph_state conversion. + 2014-08-25 David Malcolm * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): @@ -32,7 +37,7 @@ (void remove_caller (void)): created from cgraph_edge_remove_caller (void remove_callee (void)): created from cgraph_edge_remove_callee (void set_call_stmt (gimple new_stmt, bool update_speculative = true)): - created from cgraph_set_call_stmt + created from cgraph_set_call_stmt (void redirect_callee (cgraph_node *n)): created from cgraph_redirect_edge_callee (cgraph_edge *make_direct (cgraph_node *callee)): created from cgraph_make_edge_direct (cgraph_edge *make_speculative (cgraph_node *n2, gcov_type direct_count, @@ -45,7 +50,7 @@ (bool cannot_lead_to_return_p (void)): created from cannot_lead_to_return_p (bool recursive_p (void)): created from cgraph_edge_recursive_p (bool maybe_hot_p (void)): created from cgraph_maybe_hot_edge_p - (static unsigned int rebuild_edges (void)): created from rebuild_cgraph_edges + (static unsigned int rebuild_edges (void)): created from rebuild_cgraph_edges (static void rebuild_references (void)): created from cgraph_rebuild_references * cgraph.h (symbol_table): (create_reference): renamed from add_reference diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 00fa070..225f21e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -9054,7 +9054,7 @@ rs6000_return_in_msb (const_tree valtype) static bool call_ABI_of_interest (tree fndecl) { - if (cgraph_state == CGRAPH_STATE_EXPANSION) + if (symtab->state == EXPANSION) { struct cgraph_node *c_node; -- 2.7.4