Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-23 Thread Jakub Jelinek
On Fri, Feb 23, 2018 at 08:52:19AM -0700, Martin Sebor wrote: > There are a large number of failures in these reports in many > tests that were reported previously (before r257910), suggesting > something else is wrong. They all seem to use -fpic. > > If you referring to some other report or

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-23 Thread Siddhesh Poyarekar
On Friday 23 February 2018 09:22 PM, Martin Sebor wrote: > I see no failures in this test in any of the recently reported > results on any targets except those below: > >   https://gcc.gnu.org/ml/gcc-testresults/2018-02/msg01530.html >  

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-23 Thread Martin Sebor
On 02/22/2018 08:17 PM, Siddhesh Poyarekar wrote: On Friday 02 February 2018 05:15 AM, Martin Sebor wrote: PR middle-end/84095 - false-positive -Wrestrict warnings for memcpy within array gcc/ChangeLog: PR middle-end/84095 * gimple-ssa-warn-restrict.c

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-22 Thread Siddhesh Poyarekar
On Friday 02 February 2018 05:15 AM, Martin Sebor wrote: > PR middle-end/84095 - false-positive -Wrestrict warnings for memcpy within > array > > gcc/ChangeLog: > > PR middle-end/84095 > * gimple-ssa-warn-restrict.c (builtin_memref::extend_offset_range): New. >

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-16 Thread Jeff Law
On 02/15/2018 10:47 AM, Martin Sebor wrote: > On 02/13/2018 11:14 PM, Jeff Law wrote: >> On 02/01/2018 04:45 PM, Martin Sebor wrote: >>> The previous patch didn't resolve all the false positives >>> in the Linux kernel.  The attached is an update that fixes >>> the remaining one having to do with

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-15 Thread Martin Sebor
On 02/13/2018 11:14 PM, Jeff Law wrote: On 02/01/2018 04:45 PM, Martin Sebor wrote: The previous patch didn't resolve all the false positives in the Linux kernel. The attached is an update that fixes the remaining one having to do with multidimensional array members: struct S { char

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-13 Thread Jeff Law
On 02/01/2018 04:45 PM, Martin Sebor wrote: > The previous patch didn't resolve all the false positives > in the Linux kernel.  The attached is an update that fixes > the remaining one having to do with multidimensional array > members: > >   struct S { char a[2][4]; }; > >   void f (struct S 

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-08 Thread Martin Sebor
Ping: https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00076.html On 02/01/2018 04:45 PM, Martin Sebor wrote: The previous patch didn't resolve all the false positives in the Linux kernel. The attached is an update that fixes the remaining one having to do with multidimensional array members:

Re: [PATCH] correct -Wrestrict handling of arrays of arrays (PR 84095)

2018-02-01 Thread Martin Sebor
The previous patch didn't resolve all the false positives in the Linux kernel. The attached is an update that fixes the remaining one having to do with multidimensional array members: struct S { char a[2][4]; }; void f (struct S *p, int i) { strcpy (p->a[0], "012"); strcpy