http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58389
--- Comment #7 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Thu Sep 12 15:20:05 2013 New Revision: 202532 URL: http://gcc.gnu.org/viewcvs?rev=202532&root=gcc&view=rev Log: 2013-09-12 Martin Jambor <mjam...@suse.cz> PR ipa/58389 * ipa-prop.c (remove_described_reference): Give up if the edge in the reference descriptor is NULL. (ipa_edge_removal_hook): If owning a reference descriptor, set its edge to NULL. testsuite/ * g++.dg/pr58389.C: New test. Added: trunk/gcc/testsuite/g++.dg/pr58389.C Modified: trunk/gcc/ChangeLog trunk/gcc/ipa-prop.c trunk/gcc/testsuite/ChangeLog