https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78634
--- Comment #2 from Bernd Schmidt <bernds at gcc dot gnu.org> --- Author: bernds Date: Mon Jan 23 16:17:33 2017 New Revision: 244816 URL: https://gcc.gnu.org/viewcvs?rev=244816&root=gcc&view=rev Log: PR rtl-optimization/78634 * config/i386/i386.c (ix86_max_noce_ifcvt_seq_cost): New function. (TARGET_MAX_NOCE_IFCVT_SEQ_COST): Define. * ifcvt.c (noce_try_cmove): Add missing cost check. testsuite/ PR rtl-optimization/78634 * gcc.target/i386/funcspec-11.c: Also pass -mtune=i686. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/ifcvt.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/funcspec-11.c