[ovs-dev] [PATCH 2/2] flow: Workaround for GCC false-positive compilation error.

Jarno Rajahalme jrajahalme at nicira.com
Thu Aug 27 17:53:13 UTC 2015


> On Aug 26, 2015, at 7:31 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> On Wed, Aug 26, 2015 at 05:42:46PM -0700, Jarno Rajahalme wrote:
>> Without an explicit bounds check GCC 4.9 issues an array out of bounds
>> error.  This patch adds explicit checks which will however be
>> optimized away as the relevant parameters are compile-time constants.
>> 
>> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
> 
> Thanks!
> 
> Acked-by: Ben Pfaff <blp at nicira.com>

Pushed, thanks!

  Jarno




More information about the dev mailing list