Re: ATTRIBUTE_NONSTRING

2018-05-01 Thread Jeff Law
On 04/28/2018 12:25 AM, Alan Modra wrote: > On Fri, Apr 27, 2018 at 06:24:28PM -0400, Hans-Peter Nilsson wrote: >> On Fri, 27 Apr 2018, Alan Modra wrote: >> >>> This patch adds ATTRIBUTE_NONSTRING, which will be used to curb >>> -Wstringop-truncation w

Re: ATTRIBUTE_NONSTRING

2018-04-30 Thread Pedro Alves
On 04/27/2018 02:41 AM, Alan Modra wrote: > This patch adds ATTRIBUTE_NONSTRING, which will be used to curb > -Wstringop-truncation warnings in binutils. OK to apply? > > * ansidecl.h (ATTRIBUTE_NONSTRING): Define. +1, FWIW. Thanks, Pedro Alves

Re: ATTRIBUTE_NONSTRING

2018-04-27 Thread Alan Modra
On Fri, Apr 27, 2018 at 06:24:28PM -0400, Hans-Peter Nilsson wrote: > On Fri, 27 Apr 2018, Alan Modra wrote: > > > This patch adds ATTRIBUTE_NONSTRING, which will be used to curb > > -Wstringop-truncation warnings in binutils. OK to apply? > > > > * ansidecl.h

Re: ATTRIBUTE_NONSTRING

2018-04-27 Thread Hans-Peter Nilsson
On Fri, 27 Apr 2018, Alan Modra wrote: > This patch adds ATTRIBUTE_NONSTRING, which will be used to curb > -Wstringop-truncation warnings in binutils. OK to apply? > > * ansidecl.h (ATTRIBUTE_NONSTRING): Define. > > diff --git a/include/ansidecl.h b/include/ansidecl

ATTRIBUTE_NONSTRING

2018-04-26 Thread Alan Modra
This patch adds ATTRIBUTE_NONSTRING, which will be used to curb -Wstringop-truncation warnings in binutils. OK to apply? * ansidecl.h (ATTRIBUTE_NONSTRING): Define. diff --git a/include/ansidecl.h b/include/ansidecl.h index c11daff..ec5f34d 100644 --- a/include/ansidecl.h +++ b/include