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