------- Comment #4 from tbptbp at gmail dot com 2008-02-14 10:02 ------- Hmm. If i correctly understand what you're saying, *cough*, ldexp should be immune to this missed-folding-because-a-builtin-isn't-recognized-as-such; but in the original code that lead to PR34774 there's nothing but ldexp, yet *some* of them occur at runtime under some weird conditions. Of course i'd prefer to use a properly typed ldexp better than hope the compiler realize it's about mere floats and not doubles, but that would be the icing on the cake :)
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34864