This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25504] -ansi -Wall should warn about variable-size arrays
- From: "giles at xiph dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Dec 2005 18:22:04 -0000
- Subject: [Bug c/25504] -ansi -Wall should warn about variable-size arrays
- References: <bug-25504-11905@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from giles at xiph dot org 2005-12-20 18:22 -------
Created an attachment (id=10536)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10536&action=view)
example which should trigger the warning behavior
Here's an example which triggers the warning (or lack thereof) we ran into.
Also, for the record this is gcc from Ubuntu 5.10 "Breezy Badger" on x86,
$ gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25504