aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraphclones.c
diff options
context:
space:
mode:
authorIlya Enkovich <ilya.enkovich@intel.com>2014-08-18 13:26:06 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-08-18 13:26:06 +0000
commitd34af02260f54bf3b5180855daa57e77ae5383d4 (patch)
tree43d6d2e3c39272c10953c9024618ac52bea882be /gcc/cgraphclones.c
parent44f5982995af71f407b47de16e35a0276d88b862 (diff)
downloadgcc-d34af02260f54bf3b5180855daa57e77ae5383d4.zip
gcc-d34af02260f54bf3b5180855daa57e77ae5383d4.tar.gz
gcc-d34af02260f54bf3b5180855daa57e77ae5383d4.tar.bz2
re PR ipa/61800 (ICE: Segmentation fault during Firefox build)
PR ipa/61800 gcc/ * cgraph.h (cgraph_node::create_indirect_edge): Add compute_indirect_info param. * cgraph.c (cgraph_node::create_indirect_edge): Compute indirect_info only when it is required. * cgraphclones.c (cgraph_clone_edge): Do not recompute indirect_info fore cloned indirect edge. gcc/testsuite/ * g++.dg/ipa/pr61800.C: New. From-SVN: r214099
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r--gcc/cgraphclones.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c
index c04b5c8..557f734 100644
--- a/gcc/cgraphclones.c
+++ b/gcc/cgraphclones.c
@@ -136,7 +136,7 @@ cgraph_clone_edge (struct cgraph_edge *e, struct cgraph_node *n,
{
new_edge = n->create_indirect_edge (call_stmt,
e->indirect_info->ecf_flags,
- count, freq);
+ count, freq, false);
*new_edge->indirect_info = *e->indirect_info;
}
}