[Bug c++/29435] [4.1 Regression] seg fault with sizeof and templates
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 17 01:56:00 GMT 2006
------- Comment #13 from mmitchel at gcc dot gnu dot org 2006-10-17 01:56 -------
Subject: Bug 29435
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29435
More information about the Gcc-bugs
mailing list