[PATCH, PR 56294] Fix omissions in intersect_aggregates_with_edge

Jan Hubicka hubicka@ucw.cz
Wed Feb 20 20:56:00 GMT 2013


> Hi,
> 
> this patch fixes an omission in IPA-CP's agg_replacements_to_vector
> which needs to filter the vector by index and offset and a typo in
> intersect_aggregates_with_edge which in one call passed the wrong
> index to agg_replacements_to_vector.  This combined lead to empty
> intersections which were caught by an assert checking exactly that.
> 
> Bootstrapped and tested on x86_64-linux (all languages + Ada) with
> default BOOT_CFLAGS and also with BOOT_CFLAGS='-O2 -g -fipa-cp-clone
> --param=ipa-cp-eval-threshold=100' (C, C++ and Fortran only), I'm
> currently bootstrapping with the param set to 1.
> 
> OK for trunk?
OK, thanks!
Honza



More information about the Gcc-patches mailing list