http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56310



--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2013-02-21 
16:08:58 UTC ---

Author: jamborm

Date: Thu Feb 21 16:08:51 2013

New Revision: 196207



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196207

Log:

2013-02-21  Martin Jambor  <mjam...@suse.cz>



    PR tree-optimization/56310

    * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy

    only matching indices and non-negative final offsets.

    (intersect_aggregates_with_edge): Pass src_idx to

    agg_replacements_to_vector.  Pass src_idx insstead of index to

    intersect_with_agg_replacements.



testsuite/

    * g++.dg/ipa/pr56310.C: New test.





Added:

    trunk/gcc/testsuite/g++.dg/ipa/pr56310.C

Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/ipa-cp.c

    trunk/gcc/testsuite/ChangeLog

Reply via email to