[Bug ipa/60058] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-04 Thread hubicka at gcc dot gnu.org
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

[Bug ipa/60058] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-04 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ipa/60058] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-04 Thread hubicka at ucw dot cz
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

[Bug ipa/60058] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60058 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug ipa/60058] [4.9 Regression] internal compiler error: Segmentation fault

2014-02-04 Thread trippels at gcc dot gnu.org
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