------- Comment #10 from dgregor at gcc dot gnu dot org 2007-09-24 12:15 ------- Subject: Bug 33185
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 <[EMAIL PROTECTED]> 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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33185