Commit 18c56439 by Andreas Schwab Committed by Andreas Schwab

expr.c (get_def_for_expr_class): Define only if HAVE_conditional_move.

* expr.c (get_def_for_expr_class): Define only if
HAVE_conditional_move.
(convert_tree_comp_to_rtx): Likewise.

From-SVN: r187727
parent bbe9ae51
2012-05-21 Andreas Schwab <schwab@linux-m68k.org>
* expr.c (get_def_for_expr_class): Define only if
HAVE_conditional_move.
(convert_tree_comp_to_rtx): Likewise.
2012-05-21 Uros Bizjak <ubizjak@gmail.com> 2012-05-21 Uros Bizjak <ubizjak@gmail.com>
PR target/53399 PR target/53399
......
...@@ -2353,6 +2353,7 @@ get_def_for_expr (tree name, enum tree_code code) ...@@ -2353,6 +2353,7 @@ get_def_for_expr (tree name, enum tree_code code)
return def_stmt; return def_stmt;
} }
#ifdef HAVE_conditional_move
/* Return the defining gimple statement for SSA_NAME NAME if it is an /* 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 assigment and the class of the expresion on the RHS is CLASS. Return
NULL otherwise. */ NULL otherwise. */
...@@ -2372,6 +2373,7 @@ get_def_for_expr_class (tree name, enum tree_code_class tclass) ...@@ -2372,6 +2373,7 @@ get_def_for_expr_class (tree name, enum tree_code_class tclass)
return def_stmt; return def_stmt;
} }
#endif
/* Determine whether the LEN bytes generated by CONSTFUN can be /* 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) ...@@ -7371,6 +7373,7 @@ highest_pow2_factor_for_target (const_tree target, const_tree exp)
return MAX (factor, talign); return MAX (factor, talign);
} }
#ifdef HAVE_conditional_move
/* Convert the tree comparision code TCODE to the rtl one where the /* Convert the tree comparision code TCODE to the rtl one where the
signedness is UNSIGNEDP. */ signedness is UNSIGNEDP. */
...@@ -7428,6 +7431,7 @@ convert_tree_comp_to_rtx (enum tree_code tcode, int unsignedp) ...@@ -7428,6 +7431,7 @@ convert_tree_comp_to_rtx (enum tree_code tcode, int unsignedp)
} }
return code; return code;
} }
#endif
/* Subroutine of expand_expr. Expand the two operands of a binary /* Subroutine of expand_expr. Expand the two operands of a binary
expression EXP0 and EXP1 placing the results in OP0 and OP1. expression EXP0 and EXP1 placing the results in OP0 and OP1.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment