This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/17129] all gcc fail to warn zero sized array.


------- Additional Comments From jsm at polyomino dot org dot uk  2004-08-21 09:11 -------
Subject: Re:  all gcc fail to warn zero sized array.

On Sat, 21 Aug 2004, pinskia at gcc dot gnu dot org wrote:

> Use -pendatic to find errors like these.

It looked more to me like the bug reporter wanted diagnosis of the 
out-of-bounds array accesses rather than the use of a size 0 array.  In 
which case this would be a duplicate of bug 8268 which requests such 
diagnostics.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17129


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]