[Bug c/25504] -ansi -Wall should warn about variable-size arrays

giles at xiph dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 20 18:22:00 GMT 2005



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



More information about the Gcc-bugs mailing list