[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization
ktkachov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 25 09:49:00 GMT 2015
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
More information about the Gcc-bugs
mailing list