[Bug rtl-optimization/68624] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu (in 64-bit mode)

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 3 13:29:00 GMT 2015


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

--- Comment #6 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Dec  3 13:28:55 2015
New Revision: 231226

URL: https://gcc.gnu.org/viewcvs?rev=231226&root=gcc&view=rev
Log:
[RTL-ifcvt] PR rtl-optimization/68624: Clean up logic that checks for
clobbering conflicts across basic blocks

        PR rtl-optimization/68624
        * ifcvt.c (noce_try_cmove_arith): Check clobbers of temp regs in both
        blocks if they exist and simplify the logic choosing the order to emit
        them in.

        * gcc.c-torture/execute/pr68624.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr68624.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list