From b901ec947a446c7a85516472885fc93438a04b37 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 29 Nov 1999 17:35:07 +0000 Subject: [PATCH] Delete unused vars. From-SVN: r30706 --- gcc/ChangeLog | 4 ++++ gcc/fold-const.c | 6 ------ 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 + * 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. */ -- 2.30.2