https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61800
--- Comment #3 from Kirill Yukhin <kyukhin at gcc dot gnu.org> --- Author: kyukhin Date: Mon Aug 18 13:26:06 2014 New Revision: 214099 URL: https://gcc.gnu.org/viewcvs?rev=214099&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/g++.dg/ipa/pr61800.C Modified: trunk/gcc/ChangeLog trunk/gcc/cgraph.c trunk/gcc/cgraph.h trunk/gcc/cgraphclones.c trunk/gcc/testsuite/ChangeLog