[PATCH, PR 48613] Don't stream jump functions if there are none

Jan Hubicka hubicka@ucw.cz
Tue Jun 14 22:46:00 GMT 2011


> Hi,
> 
> the patch below fixes PR 48613 which is an ICE with -O0
> -findirect-inlining.  Rather than adding "&& optimize" here and there,
> at this place we can easily see whether there is something to do or
> not by testing ipa_node_params_vector for NULL.  And the
> flag-triggering combinations can -and are - dealt elsewhere.
> 
> Bootstrapped and tested on trunk on x86_64-linux.  OK for trunk and
> subsequently for the 4.6 branch too?
> 
> Thanks,
> 
> Martin
> 
> 2011-06-13  Martin Jambor  <mjambor@suse.cz>
> 
> 	PR tree-optimization/48613
> 	* ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if
> 	ipa_node_params_vector is NULL.
OK,
thanks!
Honza



More information about the Gcc-patches mailing list