From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2180 invoked by alias); 6 Dec 2001 04:14:23 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 2133 invoked by uid 61); 6 Dec 2001 04:14:21 -0000 Date: Wed, 05 Dec 2001 20:14:00 -0000 Message-ID: <20011206041421.2131.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, ghh@mpq.mpg.de, nobody@gcc.gnu.org From: rodrigc@gcc.gnu.org X-Mailer: gnatsweb 2.9.2 Subject: Re: optimization/5017: i386 floating point optimization X-SW-Source: 2001-12/txt/msg00366.txt.bz2 List-Id: 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 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