]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.c (build_exception_variant): Fix typo: use the chain of U, not trying V, while...
authorBrendan Kehoe <brendan@cygnus.com>
Thu, 22 Apr 1999 23:33:15 +0000 (23:33 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 22 Apr 1999 23:33:15 +0000 (19:33 -0400)
* tree.c (build_exception_variant): Fix typo: use the chain of U,
not trying V, while cycling through U.

From-SVN: r26597

gcc/cp/ChangeLog
gcc/cp/tree.c

index c517e678bf69e8eaa8047f7f456800adb368d0d9..eeb633eb616b9a2b9dd283ac0d09d0b385540594 100644 (file)
@@ -1,3 +1,8 @@
+1999-04-22  Brendan Kehoe  <brendan@cygnus.com>
+
+       * tree.c (build_exception_variant): Fix typo: use the chain of U,
+       not trying V, while cycling through U.
+
 1999-04-22  Mark Mitchell  <mark@codesourcery.com>
 
        * cp-tree.h (lang_decl_flags): Remove returns_first_arg and
index 6acb50189ea91473aae6c57c935061595e5d663b..dbbc5f03a577a09d741fe1196318d079cac75d84 100644 (file)
@@ -1417,7 +1417,7 @@ build_exception_variant (type, raises)
 
       for (t = TYPE_RAISES_EXCEPTIONS (v), u = raises;
           t != NULL_TREE && u != NULL_TREE;
-          t = TREE_CHAIN (t), u = TREE_CHAIN (v))
+          t = TREE_CHAIN (t), u = TREE_CHAIN (u))
        if (((TREE_VALUE (t) != NULL_TREE) 
             != (TREE_VALUE (u) != NULL_TREE))
            || !same_type_p (TREE_VALUE (t), TREE_VALUE (u)))