re PR c++/55685 (ICE: canonical types differ for identical types)
authorJason Merrill <jason@redhat.com>
Sat, 15 Dec 2012 04:02:52 +0000 (23:02 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 15 Dec 2012 04:02:52 +0000 (23:02 -0500)
commit1c9597213362d8fc5fe58016a5790bd331c1c997
treed2a31a30cbd47a5db1dd8291dfe7cd75385e1a34
parent71d1d77cfbcad4c688086e8089d715c2743a260d
re PR c++/55685 (ICE: canonical types differ for identical types)

PR c++/55685
* pt.c (tsubst_copy_and_build): Don't use SIZEOF_EXPR_TYPE_P in
templates.

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