https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127952
--- Comment #2 from Drea Pinski <pinskia at gcc dot gnu.org> --- You could also use the GCC builtins instead: https://gcc.gnu.org/onlinedocs/gcc-16.2.0/gcc/Integer-Overflow-Builtins.html#index-_005f_005fbuiltin_005faddc But those work on unsigned long or unsigned long long and need a l or ll extension instead.
