http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53989
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-17
21:34:30 UTC ---
Author: jason
Date: Tue Jul 17 21:34:22 2012
New Revision: 189588
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189588
Log:
PR c++/53989
* tree.c (build_cplus_array_type): Also add TYPE_CANONICAL
to the list of variants.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/array23.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/tree.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-17
21:35:07 UTC ---
It was still broken on trunk if I used an explicit typedef. Fixed now.