------- Comment #2 from jakub at gcc dot gnu dot org  2009-06-04 17:55 -------
4.3 reported (with -O2 -Wall):
In function 'memset',
    inlined from 'main' at w.c:6:
w.h:11: warning: call to __builtin___memset_chk will always overflow
destination buffer
In function 'memset',
    inlined from 'main' at w.c:14:
w.h:11: warning: call to __builtin___memset_chk will always overflow
destination buffer
4.4 reports:
In file included from w.c:1:
w.h: In function 'main':
w.h:11: warning: call to __builtin___memset_chk will always overflow
destination buffer
and with -O2 -Wall -Wsystem-headers:
In file included from w.c:1:
w.h: In function 'main':
w.h:11: warning: call to __builtin___memset_chk will always overflow
destination buffer
w.h:11: warning: call to __builtin___memset_chk will always overflow
destination buffer


-- 


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

Reply via email to