[Bug c++/29226] [4.0/4.1/4.2 regression] ICE in make_decl_rtl, at varasm.c:886
------- Comment #7 from mmitchel at gcc dot gnu dot org 2006-10-02 22:21 -------
Subject: Bug 29226
Author: mmitchel
Date: Mon Oct 2 22:21:02 2006
New Revision: 117375
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117375
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:
trunk/gcc/testsuite/g++.dg/template/vla1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/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: