https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107005
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- That is because GCC constants folds INT_MIN / -1 into INT_MIN. GCC warns about this code for this expression while clang does not ...