[Bug rtl-optimization/52060] [4.6/4.7 Regression] Invalid constant simplification in combine with parallel result

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 7 15:52:00 GMT 2012


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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-07 15:48:59 UTC ---
Author: jakub
Date: Tue Feb  7 15:48:52 2012
New Revision: 183972

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183972
Log:
    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.

    * gcc.dg/torture/pr52060.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr52060.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list