This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37553] [4.3/4.4 Regression] ICE in build_c_cast
- From: "dgregor at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2008 15:05:17 -0000
- Subject: [Bug c++/37553] [4.3/4.4 Regression] ICE in build_c_cast
- References: <bug-37553-16726@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dgregor at gcc dot gnu dot org 2008-10-14 15:05 -------
Subject: Bug 37553
Author: dgregor
Date: Tue Oct 14 15:03:51 2008
New Revision: 141111
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141111
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/ext/alias-canon2.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37553