diff options
author | Brendan Kehoe <brendan@cygnus.com> | 1999-04-22 23:33:15 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-04-22 19:33:15 -0400 |
commit | 7bc2e33726f64c694211f8ea60678353feb231bb (patch) | |
tree | 0f7eab1b9058ae66aeaeb52fbbdbaf1bcdc6bb0b /gcc | |
parent | 07ead0e89070f9b3dfcb885b2e6ce4f17c594291 (diff) | |
download | gcc-7bc2e33726f64c694211f8ea60678353feb231bb.zip gcc-7bc2e33726f64c694211f8ea60678353feb231bb.tar.gz gcc-7bc2e33726f64c694211f8ea60678353feb231bb.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/tree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c517e67..eeb633e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 6acb501..dbbc5f0 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -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))) |