]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/20028 (class and then template class gives an ICE)
authorAlexandre Oliva <aoliva@redhat.com>
Thu, 17 Feb 2005 19:25:05 +0000 (19:25 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Thu, 17 Feb 2005 19:25:05 +0000 (19:25 +0000)
commitae54ec16cdaf815a4e416e8193dd9e645b73fdab
tree8e65cf1212a979de73c372e019c8f791799fda07
parent2a2c6e55e790704eb0e4013276aee8a91cec46c5
re PR c++/20028 (class and then template class gives an ICE)

gcc/cp/ChangeLog:
PR c++/20028
* class.c (finish_struct): Initialize TYPE_SIZE_UNIT of a
template along with TYPE_SIZE.
gcc/testsuite/ChangeLog:
PR c++/20028
* g++.dg/template/crash34.C: New.

From-SVN: r95182
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash34.C [new file with mode: 0644]