optimization/5017: i386 floating point optimization
rodrigc@gcc.gnu.org
rodrigc@gcc.gnu.org
Wed Dec 5 20:14:00 GMT 2001
Synopsis: i386 floating point optimization
State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Wed Dec 5 20:14:20 2001
State-Changed-Why:
Compile your code and add the -Wall flag. This will
give you additional warnings that will point you to the
error in your code.
If you add #include <math.h> at the top of your
file, the problem goes away.
Since you did not include the function prototypes
for those functions, the compiler and linker
make some guesses (which are incorrect) as to the
signatures of the math functions which you are
using.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=5017&database=gcc
More information about the Gcc-prs
mailing list