Re: Couldn't `function(arg[static 3])` imply nonnull and array size in C?

2015-05-03 Thread Martin Uecker
Campbell Barton : ... > Given the simple function: > > void print_v3(float v[static 3]) > { > printf("%f %f %f\n", v[0], v[1], v[2]); > } > > Calling `foo(NULL);` or `{ float v[2]; foo(v); }` should be able to > cause a warning, it would be useful since this is a farily Yes. I want this too

gcc-6-20150503 is now available

2015-05-03 Thread gccadmin
Snapshot gcc-6-20150503 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20150503/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Re: wwwdocs/htdocs/onlinedocs/5.1.0 - New directory

2015-05-03 Thread Gerald Pfeifer
Hi Jakub, would this better be gcc.gnu.org/onlinedocs/5.1/ instead of 5.1.0 to be in alignment with the release? Gerald PS. I can make this change on gcc.gnu.org (probably using a redirect for the original link).