From: Jan Hubicka Date: Fri, 23 Aug 2013 18:33:45 +0000 (+0200) Subject: cgraph.c (cgraph_turn_edge_to_speculative): Mark target node as having address taken. X-Git-Tag: releases/gcc-4.9.0~4457 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=009e53539dc7e6d0bf5c7084a6c8cae25b4f4c68;p=thirdparty%2Fgcc.git cgraph.c (cgraph_turn_edge_to_speculative): Mark target node as having address taken. * cgraph.c (cgraph_turn_edge_to_speculative): Mark target node as having address taken. From-SVN: r201948 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1f99c1e73226..f270ec9095f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Jan Hubicka + + * cgraph.c (cgraph_turn_edge_to_speculative): Mark target node + as having address taken. + 2013-08-23 Jan Hubicka * ipa-utils.h (method_class_type): Declare. diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 19e64b797762..24770812e628 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1097,6 +1097,7 @@ cgraph_turn_edge_to_speculative (struct cgraph_edge *e, IPA_REF_ADDR, e->call_stmt); ref->lto_stmt_uid = e->lto_stmt_uid; ref->speculative = e->speculative; + cgraph_mark_address_taken_node (n2); return e2; }