diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2007-09-24 12:14:57 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2007-09-24 12:14:57 +0000 |
commit | 714f2304c65dde0653e36cb94c5cefaea2727d55 (patch) | |
tree | 43fb0347a8b05451a453a47db18a6cc43185d35e /gcc/tree-inline.c | |
parent | 996caac6daf068f5db3b8455db336c1df62ec4f9 (diff) | |
download | gcc-714f2304c65dde0653e36cb94c5cefaea2727d55.zip gcc-714f2304c65dde0653e36cb94c5cefaea2727d55.tar.gz gcc-714f2304c65dde0653e36cb94c5cefaea2727d55.tar.bz2 |
re PR c++/33112 (ICE : canonical types differ for identical types const _CharT* [14] and const _CharT* [14])
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.
From-SVN: r128711
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions