tree.c (build_exception_variant): Fix typo: use the chain of U, not trying V, while cycling through U.

* tree.c (build_exception_variant): Fix typo: use the chain of U,
	not trying V, while cycling through U.

From-SVN: r26597
This commit is contained in:
Brendan Kehoe 1999-04-22 23:33:15 +00:00 committed by Jason Merrill
parent 07ead0e890
commit 7bc2e33726
2 changed files with 6 additions and 1 deletions

View 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

View 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)))