re PR c++/37553 (ICE in build_c_cast)
authorDouglas Gregor <doug.gregor@gmail.com>
Tue, 14 Oct 2008 15:03:51 +0000 (15:03 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Tue, 14 Oct 2008 15:03:51 +0000 (15:03 +0000)
commit9c88061824631d4fc318c57b72cfd1913007d50c
tree4041d69622227f0600a435b713937d1aef6b5444
parent1fea874e7a0868d3d77c06286226c974237c45e9
re PR c++/37553 (ICE in build_c_cast)

2008-10-14  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/37553
       * tree.c (build_type_attribute_qual_variant): Hash on the
       unqualified type, and don't overwrite an existing
       (type_hash_eq): Make the TYPE_NAME of the types significant, to
       allow distinguishing between wchar_t and its underlying type. This
       also means that we'll retain a little more typedef information.

2008-10-14  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/37553
       * g++.dg/ext/alias-canon2.C: New.

From-SVN: r141111
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/alias-canon2.C [new file with mode: 0644]
gcc/tree.c