From 759df569f189ce9e4d015c5b46ea5e2107923c69 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Fri, 22 May 2015 01:04:09 +0000 Subject: always define HAVE_conditional_move gcc/ChangeLog: 2015-05-20 Trevor Saunders * genconfig.c (main): Always define HAVE_conditional_move. * combine.c, expmed.c, expr.c, ifcvt.c, optabs.c, optabs.h, toplev.c, tree-ssa-phiopt.c: Don't check if HAVE_conditional_move is defined. From-SVN: r223517 --- gcc/ifcvt.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gcc/ifcvt.c') diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index b00aaa4..37117b7 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -72,9 +72,6 @@ #include "shrink-wrap.h" #include "ifcvt.h" -#ifndef HAVE_conditional_move -#define HAVE_conditional_move 0 -#endif #ifndef HAVE_incscc #define HAVE_incscc 0 #endif @@ -1505,7 +1502,6 @@ noce_emit_cmove (struct noce_if_info *if_info, rtx x, enum rtx_code code, return NULL_RTX; } -#if HAVE_conditional_move unsignedp = (code == LTU || code == GEU || code == LEU || code == GTU); @@ -1562,13 +1558,6 @@ noce_emit_cmove (struct noce_if_info *if_info, rtx x, enum rtx_code code, } else return NULL_RTX; -#else - /* We'll never get here, as noce_process_if_block doesn't call the - functions involved. Ifdef code, however, should be discouraged - because it leads to typos in the code not selected. However, - emit_conditional_move won't exist either. */ - return NULL_RTX; -#endif } /* Try only simple constants and registers here. More complex cases -- cgit v1.1