Re: [PATCH] implement -Wrestrict for sprintf (PR 83688)

2019-11-12 Thread Martin Sebor
On 11/12/19 10:22 AM, Martin Sebor wrote: Committed in r278098. I thought I'd tested the kernel with the patch before and got no warnings, so having rebuilt it again just now I'm surprised to see the 16 instances below (7 of which are distinct). I'm happy to report that none looks like a fals

Re: [PATCH] implement -Wrestrict for sprintf (PR 83688)

2019-11-12 Thread Martin Sebor
On 10/31/19 10:31 AM, Jeff Law wrote: On 10/8/19 5:51 PM, Martin Sebor wrote: Attached is a resubmission of the -Wrestrict implementation for the sprintf family of functions.  The original patch was posted in 2017 but never approved.  This revision makes only a few minor changes to the original 

Re: [PATCH] implement -Wrestrict for sprintf (PR 83688)

2019-10-31 Thread Jeff Law
On 10/8/19 5:51 PM, Martin Sebor wrote: > Attached is a resubmission of the -Wrestrict implementation for > the sprintf family of functions.  The original patch was posted > in 2017 but never approved.  This revision makes only a few minor > changes to the original code, mostly necessitated by reba

Re: [PATCH] implement -Wrestrict for sprintf (PR 83688)

2019-10-14 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2019-10/msg00570.html On 10/8/19 5:51 PM, Martin Sebor wrote: Attached is a resubmission of the -Wrestrict implementation for the sprintf family of functions.  The original patch was posted in 2017 but never approved.  This revision makes only a few minor