This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-09 17:29:52 UTC ---
Author: jakub
Date: Thu Feb  9 17:29:38 2012
New Revision: 184061

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184061
Log:
    Backported from mainline
    2012-02-07  Jakub Jelinek  <jakub@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.

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr52060.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/combine.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]