https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61986
--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> --- Author: jamborm Date: Wed Sep 3 16:33:10 2014 New Revision: 214884 URL: https://gcc.gnu.org/viewcvs?rev=214884&root=gcc&view=rev Log: 2014-09-03 Martin Jambor <mjam...@suse.cz> PR ipa/61986 * ipa-cp.c (find_aggregate_values_for_callers_subset): Chain created replacements in ascending order of offsets. (known_aggs_to_agg_replacement_list): Likewise. gcc/testsuite/ * gcc.dg/ipa/pr61986.c: New test. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/ipa/pr61986.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/ipa-cp.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog