[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2008-02-13 Thread mark at codesourcery dot com
--- Comment #8 from mark at codesourcery dot com 2008-02-13 18:18 --- Subject: Re: [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function jason at gcc dot gnu dot org wrote: Either value_dependent_expression_p needs to handle arbitrary VLA bounds, or we need to avoid

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2008-02-13 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2008-02-13 18:14 --- The problem is that value_dependent_expression_p expects to only be called with constant-expression arguments, but a VLA leads to calling it with a non-constant expression argument, and we abort when we notice a cast

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2007-11-19 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-19 23:31 --- http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01014.html fixes the second testcase. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2007-11-19 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-20 06:38 --- Subject: Bug 28879 Author: jakub Date: Tue Nov 20 06:38:48 2007 New Revision: 130309 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=130309 Log: PR c++/28879 * tree.c (build_cplus_array_type_1):

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2007-03-07 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-07 22:39 --- *** Bug 31064 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2007-02-14 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.2 |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28879

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2007-02-03 Thread gdr at gcc dot gnu dot org
--- Comment #3 from gdr at gcc dot gnu dot org 2007-02-03 19:42 --- won't fix in GCC-4.0.x. Adjusting milestone. -- gdr at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28879] [4.0/4.1/4.2/4.3 regression] ICE with VLA in template function

2007-02-03 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.1.3 |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28879