This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128711 - in /trunk/gcc/cp: ChangeLog tree.c
- From: dgregor at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 24 Sep 2007 12:14:58 -0000
- Subject: r128711 - in /trunk/gcc/cp: ChangeLog tree.c
Author: dgregor
Date: Mon Sep 24 12:14:57 2007
New Revision: 128711
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128711
Log:
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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c