https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105368
--- Comment #3 from Zdenek Sojka <zsojka at seznam dot cz> --- I think the issue might be in the: > 1463 > 1464 /* Ignore the reciprocal when calculating the cost. */ > 1465 val = (n < 0) ? -n : n; expression, for the case n == LONG_MIN, but I am not a language lawyer. (-n is not representable in the (promoted) signed type)