Re: Need suggestion about bug 68425

2016-04-03 Thread Prasad Ghangal
On 5 March 2016 at 01:06, David Malcolm wrote: > On Wed, 2016-02-24 at 17:56 +0530, Prasad Ghangal wrote: >> Thanks Prathamesh and Joseph for your suggestions. >> >> Here is my updated patch : >> >> for test cases: >> >> const int array[5] = {1, 2, 3}; >> const int array1[3] = {1, 2, 3, 6}

Re: Need suggestion about bug 68425

2016-04-03 Thread Manuel López-Ibáñez
On 3 April 2016 at 16:56, Prasad Ghangal wrote: > > Also for > > int array[10]; > array[100]=10; > > Currently, GCC doesn't emit any warning (even with -Wall option) > > Wouldn't it be nice if GCC gives some warning like Clang, which gives: > > foo.c:4:3: warning: array index 100 is past the end o

gcc-6-20160403 is now available

2016-04-03 Thread gccadmin
Snapshot gcc-6-20160403 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/6-20160403/ 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