[Bug rtl-optimization/68328] [4.9/5/6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 24 14:25:00 GMT 2015


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

--- Comment #12 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Nov 24 14:24:24 2015
New Revision: 230812

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

        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-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68185.c
    branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68328.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/ree.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list