OSDN Git Service

PR c/22192
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2005 02:42:19 +0000 (02:42 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Jul 2005 02:42:19 +0000 (02:42 +0000)
commita2f96aea7bcce4f3a87294052e368759772ea73b
treee54a0f65a06af8a8ad80ad46289518f14eb6d73c
parent314b93ea9a11200b8b5480588f38d406cdb8d741
PR c/22192
* c-typeck.c (composite_type): Prefer constant size arrays to
VLAs.

testsuite:
* gcc.dg/c99-vla-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102540 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-vla-2.c [new file with mode: 0644]