This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/16409] [3.5 regression] ICE in size_binop, at fold-const.c


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]