This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, PR 56294] Fix omissions in intersect_aggregates_with_edge


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]