Nice! That's something I often wish GCC had.
[0] https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins...
[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.63/h...
I don't imagine it's possible to check using a static assert, either.