This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53989] [4.7 regression] Internal compiler error in strip_typedefs, at cp/tree.c:1187
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2012 21:35:07 +0000
- Subject: [Bug c++/53989] [4.7 regression] Internal compiler error in strip_typedefs, at cp/tree.c:1187
- Auto-submitted: auto-generated
- References: <bug-53989-4@http.gcc.gnu.org/bugzilla/>
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 #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-17 21:34:18 UTC ---
Author: jason
Date: Tue Jul 17 21:34:06 2012
New Revision: 189587
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189587
Log:
PR c++/53989
* tree.c (build_cplus_array_type): Also add TYPE_CANONICAL
to the list of variants.
Added:
trunk/gcc/testsuite/g++.dg/template/array23.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
--- 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.