This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 23 Oct 2012 18:05:03 +0000
- Subject: [Bug c++/54844] [4.8 Regression] ice tsubst_copy, at cp/pt.c:12352
- Auto-submitted: auto-generated
- References: <bug-54844-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54844
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-23 18:05:03 UTC ---
Author: jakub
Date: Tue Oct 23 18:04:55 2012
New Revision: 192736
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192736
Log:
PR c++/54844
* pt.c (tsubst_copy, tsubst_copy_and_build) <case SIZEOF_EXPR>: Use
tsubst instead of tsubst_copy* on types.
* g++.dg/template/sizeof14.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/sizeof14.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog