This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r117813 - in /branches/gcc-4_1-branch/gcc: cp/C...
- From: mmitchel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Oct 2006 01:56:23 -0000
- Subject: r117813 - in /branches/gcc-4_1-branch/gcc: cp/C...
Author: mmitchel
Date: Tue Oct 17 01:56:23 2006
New Revision: 117813
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117813
Log:
PR c++/29435
* typeck.c (cxx_sizeof_or_alignof_type): Complete non-dependent
types when their sizes are required. Refine test for VLAs.
PR c++/29435
* g++.dg/template/sizeof11.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/sizeof11.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/typeck.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog