]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/54844 (ice tsubst_copy, at cp/pt.c:12352)
authorJakub Jelinek <jakub@redhat.com>
Tue, 23 Oct 2012 18:04:55 +0000 (20:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 23 Oct 2012 18:04:55 +0000 (20:04 +0200)
commit22531fb1957ca61debd68c6d3bbc16899b907ba8
treed9c6d5bdb49861f832355ea4a64a1fa01384e283
parent8d672b2640e869e85781f02cd36c1a7cc6165ce8
re PR c++/54844 (ice tsubst_copy, at cp/pt.c:12352)

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.

From-SVN: r192736
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sizeof14.C [new file with mode: 0644]