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 55260] Use info of the correct node in find_aggregate_values_for_callers_subset


> 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


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