optimization/2146: Invalid optimization for the exponentialfunction
Stephen L Moshier
moshier@mediaone.net
Sun Apr 1 00:00:00 GMT 2001
The following reply was made to PR optimization/2146; it has been noted by GNATS.
From: Stephen L Moshier <moshier@mediaone.net>
To: Frederic.Goualard@cwi.nl
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: optimization/2146: Invalid optimization for the exponential
function
Date: Fri, 2 Mar 2001 10:27:04 -0500 (EST)
> GCC optimizes the computation of the exponential
> of a constant by replacing the call to the function
> provided by the mathematical library by some assembler
> instructions to compute it directly.
GCC does not do that. The C library header file math.h is
doing that. Complain to the glibc department. Possibly
the bug has been fixed in newer versions of the libm math library.
It is not a compiler bug.
More information about the Gcc-prs
mailing list