--- Comment #16 from pinskia at gcc dot gnu dot org 2007-09-10 14:07
---
*** This bug has been marked as a duplicate of 16794 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #15 from manu at gcc dot gnu dot org 2007-07-26 16:58 ---
(In reply to comment #14)
> Subject: Re: warning for memset with zero size
>
> On 26 Jul 2007 13:57:41 -, manu at gcc dot gnu dot org
> <[EMAIL PROTECTED]> wrote:
> >
> > I think that is a sensible feature reques
--- Comment #14 from pinskia at gmail dot com 2007-07-26 16:51 ---
Subject: Re: warning for memset with zero size
On 26 Jul 2007 13:57:41 -, manu at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
>
> I think that is a sensible feature request, am I missing something Andrew?
memset
On 26 Jul 2007 13:57:41 -, manu at gcc dot gnu dot org
<[EMAIL PROTECTED]> wrote:
I think that is a sensible feature request, am I missing something Andrew?
memset with a zero size is valid code.
Thanks,
Andrew Pinski
--- 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 warn