[ovs-git] [openvswitch/ovs] 17b897: sat-math: Do not use __builtin_s*_overflow() with ...
Ben Pfaff
noreply at github.com
Wed Aug 21 17:45:42 UTC 2019
Branch: refs/heads/branch-2.12
Home: https://github.com/openvswitch/ovs
Commit: 17b897a1019aca645d5d1b5b75327f74d8ec2248
https://github.com/openvswitch/ovs/commit/17b897a1019aca645d5d1b5b75327f74d8ec2248
Author: Ben Pfaff <blp at ovn.org>
Date: 2019-08-21 (Wed, 21 Aug 2019)
Changed paths:
M lib/sat-math.h
Log Message:
-----------
sat-math: Do not use __builtin_s*_overflow() with sparse.
Some versions of sparse do not understand __builtin_saddll_overflow() and
related GCC builtins for calculations with overflow detection. This patch
avoids using them when sparse is in use.
Reported-by: Justin Pettit <jpettit at ovn.org>
Tested-by: Justin Pettit <jpettit at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list