summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-21 17:21:44 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-21 17:21:44 +0000
commitef47fd1da584679f7c2174421c77521d13dc31b4 (patch)
tree3572f7fc9551d8041e36aa14be1f8a52286d8356 /gcc/expr.c
parentee7897ee67e3375a58ff2800b097d3da3dbd59a9 (diff)
downloadppe42-gcc-ef47fd1da584679f7c2174421c77521d13dc31b4.tar.gz
ppe42-gcc-ef47fd1da584679f7c2174421c77521d13dc31b4.zip
* expr.c (get_def_for_expr_class): Define only if
HAVE_conditional_move. (convert_tree_comp_to_rtx): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187727 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 0d52725ae07..e6def73e6e4 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -2353,6 +2353,7 @@ get_def_for_expr (tree name, enum tree_code code)
return def_stmt;
}
+#ifdef HAVE_conditional_move
/* Return the defining gimple statement for SSA_NAME NAME if it is an
assigment and the class of the expresion on the RHS is CLASS. Return
NULL otherwise. */
@@ -2372,6 +2373,7 @@ get_def_for_expr_class (tree name, enum tree_code_class tclass)
return def_stmt;
}
+#endif
/* Determine whether the LEN bytes generated by CONSTFUN can be
@@ -7371,6 +7373,7 @@ highest_pow2_factor_for_target (const_tree target, const_tree exp)
return MAX (factor, talign);
}
+#ifdef HAVE_conditional_move
/* Convert the tree comparision code TCODE to the rtl one where the
signedness is UNSIGNEDP. */
@@ -7428,6 +7431,7 @@ convert_tree_comp_to_rtx (enum tree_code tcode, int unsignedp)
}
return code;
}
+#endif
/* Subroutine of expand_expr. Expand the two operands of a binary
expression EXP0 and EXP1 placing the results in OP0 and OP1.
OpenPOWER on IntegriCloud