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

Ben Pfaff blp at nicira.com
Thu Aug 27 02:31:00 UTC 2015


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>



More information about the dev mailing list