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/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68328

--- Comment #13 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Nov 24 14:27:51 2015
New Revision: 230813

URL: https://gcc.gnu.org/viewcvs?rev=230813&root=gcc&view=rev
Log:
[RTL-ree] PR rtl-optimization/68194: Restrict copy instruction in presence of
conditional moves

        Backport from mainline
        2015-11-24  Bernd Schmidt <bschmidt@redhat.com>
                    Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        PR rtl-optimization/68194
        PR rtl-optimization/68328
        PR rtl-optimization/68185
        * ree.c (combine_reaching_defs): Reject copy_needed case if
        copies_list is not empty.

        * gcc.c-torture/execute/pr68185.c: New test.
        * gcc.c-torture/execute/pr68328.c: Likewise.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c
    branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/ree.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog

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