]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* jcf-depend.c (add_entry): Fix test for first list entry.
authorAnthony Green <green@cygnus.com>
Sun, 20 Feb 2000 04:16:42 +0000 (04:16 +0000)
committerAnthony Green <green@gcc.gnu.org>
Sun, 20 Feb 2000 04:16:42 +0000 (04:16 +0000)
From-SVN: r32072

gcc/java/ChangeLog
gcc/java/jcf-depend.c

index 3bef122604443afbf09fb6b9395dd8041a54e900..2f82ebcb1c7ec8822595fbf01696b2089446901e 100644 (file)
@@ -1,3 +1,7 @@
+2000-02-19  Anthony Green  <green@cygnus.com>
+
+       * jcf-depend.c (add_entry): Fix test for first list entry.
+
 Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.
index 53bd17bcd319abc6e9d9d5605e2e5f6fd2991b3d..3fb8c00bb159b70cb14e42422fe61f54ced1cc71 100644 (file)
@@ -94,7 +94,7 @@ add_entry (entp, name)
   ent->file = xstrdup (name);
   ent->next = NULL;
 
-  if (last == ent)
+  if (last == *entp)
     {
       // This is only true the first time through, when the entry list
       // is empty.