aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/genrecog.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f987470..594c802 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-28 Kazu Hirata <kazu@cs.umass.edu>
+
+ * genrecog.c (write_node): Remove a useless local variable.
+
2004-01-28 Ian Lance Taylor <ian@wasabisystems.com>
* Makefile.in (options.c options.h): Use stamp file s-options to
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index e0a225a..dc756fe 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -2152,11 +2152,8 @@ write_node (struct decision *p, int depth,
while ((test = test->next) != NULL)
{
- int uncond2;
-
last_test = test;
- uncond2 = is_unconditional (test, subroutine_type);
- if (uncond2 != 0)
+ if (is_unconditional (test, subroutine_type))
break;
printf ("\n && ");