Re: [dpdk-dev] [PATCH] build: gcc 10 disable stringop-overflow warnings

2020-04-16 Thread Kevin Traynor
On 10/04/2020 14:23, Bruce Richardson wrote: > On Fri, Apr 10, 2020 at 11:51:56AM +0100, Kevin Traynor wrote: >> On 07/04/2020 17:27, Kevin Traynor wrote: >>> stringop-overflow warns when it sees a possible overflow >>> in a string operation. >>> >>> In the rte_memcpy functions different implementa

Re: [dpdk-dev] [PATCH] build: gcc 10 disable stringop-overflow warnings

2020-04-10 Thread Bruce Richardson
On Fri, Apr 10, 2020 at 11:51:56AM +0100, Kevin Traynor wrote: > On 07/04/2020 17:27, Kevin Traynor wrote: > > stringop-overflow warns when it sees a possible overflow > > in a string operation. > > > > In the rte_memcpy functions different implementations are > > used depending on the size. strin

Re: [dpdk-dev] [PATCH] build: gcc 10 disable stringop-overflow warnings

2020-04-10 Thread Kevin Traynor
On 07/04/2020 17:27, Kevin Traynor wrote: > stringop-overflow warns when it sees a possible overflow > in a string operation. > > In the rte_memcpy functions different implementations are > used depending on the size. stringop-overflow is raised for > the paths in the function where it sees the st

[dpdk-dev] [PATCH] build: gcc 10 disable stringop-overflow warnings

2020-04-07 Thread Kevin Traynor
stringop-overflow warns when it sees a possible overflow in a string operation. In the rte_memcpy functions different implementations are used depending on the size. stringop-overflow is raised for the paths in the function where it sees the static size of the src could be overflowed. However, in