diff options
author | crux <crux@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-29 17:35:07 +0000 |
---|---|---|
committer | crux <crux@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-11-29 17:35:07 +0000 |
commit | e932cf01e5347b284f554135c0a0f9bd81572f42 (patch) | |
tree | 57739ef62cf93a5f572518e8a8514410bfa16452 | |
parent | 8c0474b2d7b118f92d7f9a14f0afab5ec11be9bb (diff) | |
download | ppe42-gcc-e932cf01e5347b284f554135c0a0f9bd81572f42.tar.gz ppe42-gcc-e932cf01e5347b284f554135c0a0f9bd81572f42.zip |
Delete unused vars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30706 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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. */ |