This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH] Don't use __warn_memset_zero_len for gcc-5.0 or newer


On Tue, Nov 25, 2014 at 06:31:37PM +0530, Siddhesh Poyarekar wrote:
> Hi,
> 
> gcc now warns when the arguments to memset may have been accidentally
> transposed (i.e. length set to zero instead of the byte), so we don't
> need that bit of the code in glibc headers anymore.
> 
> Tested on x86_64.  Coe generated by gcc 4.8 is identical with or
> without the patch.  I also tested gcc master, which does not result in
> any new failures.  It does fail quite a few FORTIFY_SOURCE tests, but
> those failures are not due to this patch.  I'll look at them deeper.
> OK to commit this?
> 
Looks ok.


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