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

--- Comment #3 from ktkachov at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #2)
> Note PR 86710 lists the opposite (except without being a CST for the
> division).
> 
> Just like PR 86710, this applies for log, log10 and log2 too (and the type
> variants too).

Thanks for the reference. Yeah, splitting up one log call to two log calls is
not a good idea for variable arguments, but when we can calculate the log (CST)
at compile-time it should be a win.

Reply via email to