diff options
author | Alexandre Petit-Bianco <apbianco@redhat.com> | 2001-07-31 19:28:43 -0700 |
---|---|---|
committer | Alexandre Petit-Bianco <apbianco@gcc.gnu.org> | 2001-07-31 19:28:43 -0700 |
commit | 6ad7895ac23ac971a2f3de9e7899a5389ec21a7c (patch) | |
tree | 6496ff51752066c862a5e55102eb82d5d6a55b19 /gcc/cp | |
parent | b24a9e88395d563e90e7956f2b1cb8504db43511 (diff) | |
download | gcc-6ad7895ac23ac971a2f3de9e7899a5389ec21a7c.zip gcc-6ad7895ac23ac971a2f3de9e7899a5389ec21a7c.tar.gz gcc-6ad7895ac23ac971a2f3de9e7899a5389ec21a7c.tar.bz2 |
*** empty log message ***
From-SVN: r44528
Diffstat (limited to 'gcc/cp')
-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 39689e8..393da2e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com> + + * tree.c (cp_tree_equal): WITH_CLEANUP_EXPR node to use its second + operand while calling cp_tree_equal. + 2001-07-31 Nathan Sidwell <nathan@codesourcery.com> The 3.0 ABI no longer has vbase pointer fields. diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 59c08bc..348942c 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -1958,7 +1958,7 @@ cp_tree_equal (t1, t2) cmp = cp_tree_equal (TREE_OPERAND (t1, 0), TREE_OPERAND (t2, 0)); if (cmp <= 0) return cmp; - return cp_tree_equal (TREE_OPERAND (t1, 2), TREE_OPERAND (t1, 2)); + return cp_tree_equal (TREE_OPERAND (t1, 1), TREE_OPERAND (t1, 1)); case COMPONENT_REF: if (TREE_OPERAND (t1, 1) == TREE_OPERAND (t2, 1)) |