[PATCH, PR 55260] Use info of the correct node in find_aggregate_values_for_callers_subset
Jan Hubicka
hubicka@ucw.cz
Sun Nov 18 16:56:00 GMT 2012
> Hi,
>
> PR 55260 contains two testcases which trigger two different bugs in
> ipa-cp.c. The first problem is that at one place in
> find_aggregate_values_for_callers_subset we use variable info instead
> of caller_info when determining whether a callee is a clone which then
> leads to an ICE. Fixed thusly and I also renamed info to dest_info to
> make similar mistakes harder to make in future.
>
> Fix of the second PR 55260 bug will probably involve some fiddling
> with vectors so I'll submit it next week when the new interface is in
> place.
>
> Bootstrapped and tested on x86_64-linux, OK for trunk?
>
> Thanks,
>
> Martin
>
>
> 2012-11-16 Martin Jambor <mjambor@suse.cz>
>
> PR tree-optimization/55260
> * ipa-cp.c (find_aggregate_values_for_callers_subset): Rename info to
> dest_info, use caller_info instead of info when determining whether
> callee is a clone.
>
> * testsuite/g++.dg/torture/pr55260-1.C: New test.
OK, thanks!
Honza
More information about the Gcc-patches
mailing list