[Bug c++/29226] [4.0/4.1 regression] ICE in make_decl_rtl, at varasm.c:886
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-10-02 23:42 -------
Subject: Bug 29226
Author: mmitchel
Date: Mon Oct 2 23:41:59 2006
New Revision: 117377
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117377
Log:
PR c++/29226
* typeck.c (cxx_sizeof_or_alignof_type): Tidy. In templates, do
not try to actually evaluate sizeof for a VLA type.
PR c++/29226
* g++.dg/template/vla1.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/vla1.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=29226
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Reply to: