[Bug middle-end/48752] [4.7 Regression] ICE in evaulate_conditions_for_edge at ipa-inline-analysis.c:466
hubicka at ucw dot cz
gcc-bugzilla@gcc.gnu.org
Sat Apr 30 08:48:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48752
--- Comment #19 from Jan Hubicka <hubicka at ucw dot cz> 2011-04-30 08:46:55 UTC ---
Hi,
i am atesting the attached fix.
Index: ipa-inline.c
===================================================================
--- ipa-inline.c (revision 173189)
+++ ipa-inline.c (working copy)
@@ -1663,6 +1663,14 @@ early_inliner (void)
if (seen_error ())
return 0;
+ /* Do nothing if datastructures for ipa-inliner are already computed. This
happens when
+ some pass decides to construct new function and cgraph_add_new_function
calls lowering
+ passes and early optimization on it. This may confuse ourself when early
inliner decide
+ to inline call to function clone, because function clones don't have
parameter list
+ in ipa-prop matching their signature. */
+ if (ipa_node_params_vector)
+ return 0;
+
#ifdef ENABLE_CHECKING
verify_cgraph_node (node);
#endif
More information about the Gcc-bugs
mailing list