http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058
--- Comment #4 from Jan Hubicka ---
Author: hubicka
Date: Tue Feb 4 17:25:38 2014
New Revision: 207478
URL: http://gcc.gnu.org/viewcvs?rev=207478&root=gcc&view=rev
Log:
PR ipa/60058
* ipa-cp.c (ipa_get_indirect_edge_target_1): Check tha
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058
Jan Hubicka changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058
--- Comment #2 from Jan Hubicka ---
Ah yes, if the method can not be referred, we need to check that target is
non-NULL.
I reorganized the code one too man times. I will double check it is what
happens in your testcase.
Honza
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058
Richard Biener changed:
What|Removed |Added
Priority|P3 |P1
Target Milestone|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058
--- Comment #1 from Markus Trippelsdorf ---
Looks like an "if (target)" wrapper like in the other hunk of r207447 is
necessary.
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 68afeb0d89e4..dab9e8a0f80d 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c