https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118490
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktkachov at gcc dot gnu.org
--- Comment #1 from ktkachov at gcc dot gnu.org ---
Looks like we want to perform the folds when the exp/log operates on a constant
but only when the value being compared to is not constant. If they're both
constant the compiler will oscillate between the two at low optimisation
levels.