On 5/20/24 14:29, Jeffrey Walton wrote:
I think this is a valid finding. It will operate one way in release builds
(-DNDEBUG), and another way in debug builds (no NDEBUG).

When NDEBUG is in effect, the code `bswap_16 (value_1++) == 0` will be
removed.

How so? The test program uses 'ASSERT' not 'assert', so 'NDEBUG' should be irrelevant.

Can you reproduce the problem with:

./gnulib-tool --test byteswap

?



Reply via email to