summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/fold-const.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73c8da5eaaf..07811cbb6c9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
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]
(target_isinf, target_isnan, target_negative): Add return types to
function definitions.
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 5ce6212700a..970d58cb423 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -1274,8 +1274,6 @@ split_tree (in, code, conp, litp, negate_p)
tree *conp, *litp;
int negate_p;
{
- tree orig_in = in;
- tree type = TREE_TYPE (in);
tree var = 0;
*conp = 0;
@@ -1353,8 +1351,6 @@ associate_trees (t1, t2, code, type)
enum tree_code code;
tree type;
{
- tree tem;
-
if (t1 == 0)
return t2;
else if (t2 == 0)
@@ -4276,8 +4272,6 @@ extract_muldiv (t, c, code, wide_type)
? wide_type : type);
tree t1, t2;
int same_p = tcode == code;
- int cancel_p
- = (code == MULT_EXPR && tcode == EXACT_DIV_EXPR) || tcode == MULT_EXPR;
tree op0, op1;
/* Don't deal with constants of zero here; they confuse the code below. */
OpenPOWER on IntegriCloud