> 2013-09-13 Jakub Jelinek <ja...@redhat.com> > > * ipa-prop.c (ipa_compute_jump_functions_for_edge): Return early > for internal calls.
That seems resonable. I wonder if we want to consider internal calls to form callgarph edges at all: perhaps we can just modify cgraph builder+verifier to skip them and consider them to be normal instruction.... Honza > > --- gcc/ipa-prop.c.jj 2013-09-13 16:48:54.000000000 +0200 > +++ gcc/ipa-prop.c 2013-09-13 17:28:28.086058903 +0200 > @@ -1551,6 +1551,8 @@ ipa_compute_jump_functions_for_edge (str > return; > vec_safe_grow_cleared (args->jump_functions, arg_num); > > + if (gimple_call_internal_p (call)) > + return; > if (ipa_func_spec_opts_forbid_analysis_p (cs->caller)) > return; > > > > Jakub