re PR ipa/61986 (ICE on valid code at -O3 on x86_64-linux-gnu indecide_about_value...
authorMartin Jambor <mjambor@suse.cz>
Wed, 3 Sep 2014 14:16:54 +0000 (16:16 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 3 Sep 2014 14:16:54 +0000 (16:16 +0200)
commit6f9549ee682082ec99fac4d73626fc8fc6f5f73b
treeec00253dce4e388b8c159005e098a36d3a0baf5a
parent2b3ae5d12a3f6cdb9008d77eb18fddb1344ce1bb
re PR ipa/61986 (ICE on valid code at -O3 on x86_64-linux-gnu indecide_about_value, at ipa-cp.c:3480)

2014-09-03  Martin Jambor  <mjambor@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.

From-SVN: r214877
gcc/ChangeLog
gcc/ipa-cp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr61986.c [new file with mode: 0644]