http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52060
--- Comment #14 from Jing Yu <jingyu at gcc dot gnu.org> 2012-03-02 01:01:31 UTC --- Author: jingyu Date: Fri Mar 2 01:01:16 2012 New Revision: 184771 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184771 Log: 2012-03-01 Jing Yu <jin...@google.com> Backport r184061 from gcc-4_6-branch to fix PR52060. 2012-02-07 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/52060 * gcc.dg/torture/pr52060.c: New test. 2012-02-07 Jakub Jelinek <ja...@redhat.com> PR rtl-optimization/52060 * combine.c (try_combine): Add i0src_copy and i0src_copy2 variables, copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy and/or i0src_copy2 when needed. Added: branches/google/gcc-4_6_2-mobile/gcc/testsuite/gcc.dg/torture/pr52060.c Modified: branches/google/gcc-4_6_2-mobile/gcc/ChangeLog.google-4_6 branches/google/gcc-4_6_2-mobile/gcc/combine.c branches/google/gcc-4_6_2-mobile/gcc/testsuite/ChangeLog.google-4_6