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

--- Comment #9 from Marc Glisse <glisse at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #7)
> This is incorrect for floating point types

Because of negative 0 I assume.

> And it introduces an extra check at runtime if value is not known to compile 
> time.

We could also use __builtin_constant_p, if the function is inlined often enough
(don't know if it is).

Best would still be to see if we can enable parts of ldist at -O2.

Reply via email to