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

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Mikhail Maltsev from comment #3)
> In libgfortran/intrinsics/c99_functions.c, scalbn is implemented like this:
> 
> double
> scalbn (double x, int y)

You should be extra careful here, we are using scalbln to avoid overflows. 
Please see PR64503, there are some ipa tests in the testsuite (e.g.
gcc.dg/ipa/iinline-4.c) that report -inf for estimated badness when other
functions are used.

Reply via email to