Commit b901ec94 by Bernd Schmidt Committed by Bernd Schmidt

Delete unused vars.

From-SVN: r30706
parent 7762d54e
1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk> 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
* fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
(associate_trees): Delete unused var TEM.
(extract_muldiv): Delete unused var CANCEL_P.
* fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT] * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
(target_isinf, target_isnan, target_negative): Add return types to (target_isinf, target_isnan, target_negative): Add return types to
function definitions. function definitions.
......
...@@ -1274,8 +1274,6 @@ split_tree (in, code, conp, litp, negate_p) ...@@ -1274,8 +1274,6 @@ split_tree (in, code, conp, litp, negate_p)
tree *conp, *litp; tree *conp, *litp;
int negate_p; int negate_p;
{ {
tree orig_in = in;
tree type = TREE_TYPE (in);
tree var = 0; tree var = 0;
*conp = 0; *conp = 0;
...@@ -1353,8 +1351,6 @@ associate_trees (t1, t2, code, type) ...@@ -1353,8 +1351,6 @@ associate_trees (t1, t2, code, type)
enum tree_code code; enum tree_code code;
tree type; tree type;
{ {
tree tem;
if (t1 == 0) if (t1 == 0)
return t2; return t2;
else if (t2 == 0) else if (t2 == 0)
...@@ -4276,8 +4272,6 @@ extract_muldiv (t, c, code, wide_type) ...@@ -4276,8 +4272,6 @@ extract_muldiv (t, c, code, wide_type)
? wide_type : type); ? wide_type : type);
tree t1, t2; tree t1, t2;
int same_p = tcode == code; int same_p = tcode == code;
int cancel_p
= (code == MULT_EXPR && tcode == EXACT_DIV_EXPR) || tcode == MULT_EXPR;
tree op0, op1; tree op0, op1;
/* Don't deal with constants of zero here; they confuse the code below. */ /* Don't deal with constants of zero here; they confuse the code below. */
......
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