This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/64370] [5 Regression] sreal.c:125:23: error: 'exp2' was not declared in this scope


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]