This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16409] [3.5 regression] ICE in size_binop, at fold-const.c
- From: "jsm at polyomino dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2004 16:48:27 -0000
- Subject: [Bug c/16409] [3.5 regression] ICE in size_binop, at fold-const.c
- References: <20040707155846.16409.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jsm at polyomino dot org dot uk 2004-07-07 16:48 -------
Subject: Re: New: [3.5 regression] ICE in size_binop, at
fold-const.c
On Wed, 7 Jul 2004, reichelt at gcc dot gnu dot org wrote:
> void foo(int i) { char a[][i] = {""}; }
Is this meant to be yet another undocumented aspect of GNU C VLAs or a
defect in C99? (C99 says you can't initialize VLAs, but an array of
unknown size whose element type is a VLA type doesn't seem to be a VLA
type itself. Something to add to the other VLA oddities to bear in mind
for possible DRs if implementing C99 VLAs.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16409