diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2005-02-14 09:36:35 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2005-02-14 09:36:35 +0000 |
commit | 12a669d1e1b3b14f15bf512479c664130f52c89d (patch) | |
tree | 489402919c97378f6127944f463d865fdc1383ad /gcc/cp/ChangeLog | |
parent | 90bb1c1f1511ccb29fc3c23fe2ab871c24c6b040 (diff) | |
download | gcc-12a669d1e1b3b14f15bf512479c664130f52c89d.zip gcc-12a669d1e1b3b14f15bf512479c664130f52c89d.tar.gz gcc-12a669d1e1b3b14f15bf512479c664130f52c89d.tar.bz2 |
re PR c++/19891 (Covariant returns are broken)
cp:
PR c++/19891
* class.c (build_simple_base_path): Build the component_ref
directly.
(update_vtable_entry_for_fn): Walk the covariant's binfo chain
rather than using lookup_base.
* search.c (dfs_walk_once): Add non-recursive assert check.
* typeck.c (build_class_member_access_expr): It is possible for
the member type to be both const and volatile.
testsuite:
PR c++/19891
* g++.dg/abi/covariant4.C: New.
From-SVN: r95005
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b60b6de..7e39ce1 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,14 @@ +2005-02-11 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/19891 + * class.c (build_simple_base_path): Build the component_ref + directly. + (update_vtable_entry_for_fn): Walk the covariant's binfo chain + rather than using lookup_base. + * search.c (dfs_walk_once): Add non-recursive assert check. + * typeck.c (build_class_member_access_expr): It is possible for + the member type to be both const and volatile. + 2005-02-12 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/14479 |