https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107861

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note clang rejects even just:

#include <limits.h>

#define wrap_inc(x)     ((x) + 1 < (x))

constexpr int int_max = INT_MAX;

bool b0 = wrap_inc(int_max);

Reply via email to