A strict build with gcc version 7.1.1 20170622 emits errors such as:
In file included from ../../../src/include/wt_internal.h:374:0, from ../../../test/utility/test_util.h:28, from ../../../test/packing/intpack-test.c:29: ../../../test/packing/intpack-test.c: In function 'main': ../../../src/include/intpack.i:153:18: error: array subscript is above array bounds [-Werror=array-bounds] x = (x << 8) | *p++; ^~~~