This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR 55260] Use info of the correct node in find_aggregate_values_for_callers_subset
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Sun, 18 Nov 2012 17:56:46 +0100
- Subject: Re: [PATCH, PR 55260] Use info of the correct node in find_aggregate_values_for_callers_subset
- References: <20121117124030.GC21085@virgil.arch.suse.de>
> 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