[Bug c++/63485] [5 Regression] ICE: canonical types differ for identical types A<const wchar_t [3]>::type and const char_type [3]

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 8 20:27:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63485

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Oct  8 20:27:11 2014
New Revision: 216012

URL: https://gcc.gnu.org/viewcvs?rev=216012&root=gcc&view=rev
Log:
    PR c++/63485
    * tree.c (build_cplus_array_type): Look for a type with no
    typedef-name or attributes.

Added:
    trunk/gcc/testsuite/g++.dg/template/array29.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/tree.c



More information about the Gcc-bugs mailing list