[Bug middle-end/32887] warning for memset with zero size
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 26 13:57:00 GMT 2007
------- Comment #13 from manu at gcc dot gnu dot org 2007-07-26 13:57 -------
(In reply to comment #12)
> I want the warning.
> but why the warning is glibc's bug?
Andrew already tried to explain. It is a side-effect of a bug in glibc.
> because memset(x,19,0), is buggy code.
> I need the warning.
I think that is a sensible feature request, am I missing something Andrew?
I hope someone will be so kind to implement it for you (or you decide to
implement it yourself).
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Summary|memset warning |warning for memset with zero
| |size
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32887
More information about the Gcc-bugs
mailing list