diff options
author | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-24 12:14:57 +0000 |
---|---|---|
committer | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-09-24 12:14:57 +0000 |
commit | 4582889c0554f6af19a6892fbf67bec015f388f1 (patch) | |
tree | 43fb0347a8b05451a453a47db18a6cc43185d35e /gcc/cp/ChangeLog | |
parent | 0be10cf2d6e5bc05db701037f45991af74773c4a (diff) | |
download | ppe42-gcc-4582889c0554f6af19a6892fbf67bec015f388f1.tar.gz ppe42-gcc-4582889c0554f6af19a6892fbf67bec015f388f1.zip |
2007-09-24 Douglas Gregor <doug.gregor@gmail.com>
PR c++/33112
PR c++/33185
* tree.c (cplus_array_compare): Compare pointers, not types.
(build_cplus_array_type_1): Store new array type into the hash
table before building the canonical type; build the canonical type
correctly.
(cp_build_qualified_type_real): Put all of the array types with
cv-qualified element types into the C++ array hash table, built as
variants of the unqualified versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128711 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 79e96c6c42c..ed3c7ff9031 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,15 @@ +2007-09-24 Douglas Gregor <doug.gregor@gmail.com> + + PR c++/33112 + PR c++/33185 + * tree.c (cplus_array_compare): Compare pointers, not types. + (build_cplus_array_type_1): Store new array type into the hash + table before building the canonical type; build the canonical type + correctly. + (cp_build_qualified_type_real): Put all of the array types with + cv-qualified element types into the C++ array hash table, built as + variants of the unqualified versions. + 2007-09-23 Jason Merrill <jason@redhat.com> PR c++/16370 |