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/68435] [6 Regression] Missed if-conversion optimization


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

--- Comment #10 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Wed Nov 25 09:48:29 2015
New Revision: 230859

URL: https://gcc.gnu.org/viewcvs?rev=230859&root=gcc&view=rev
Log:
[RTL-ifcvt] PR rtl-optimization/68435 Allow (c ? x++ : x--) form

        PR rtl-optimization/68435
        * ifcvt.c (noce_try_cmove_arith): Skip final insn when checking
        for conflicts between a, b and the set destinations.

        * gcc.dg/pr68435.c: New test.


Added:
    trunk/gcc/testsuite/gcc.dg/pr68435.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog

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