This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/64370] [5 Regression] sreal.c:125:23: error: 'exp2' was not declared in this scope
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Jan 2015 19:31:16 +0000
- Subject: [Bug other/64370] [5 Regression] sreal.c:125:23: error: 'exp2' was not declared in this scope
- Auto-submitted: auto-generated
- References: <bug-64370-4 at http dot gcc dot gnu dot org/bugzilla/>
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.