From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32709 invoked by alias); 23 Mar 2002 00:59:52 -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 32689 invoked by uid 61); 23 Mar 2002 00:59:52 -0000 Date: Fri, 22 Mar 2002 16:59:00 -0000 Message-ID: <20020323005952.32688.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, liviu.coman@active-knowledge.com, nobody@gcc.gnu.org From: rth@gcc.gnu.org Reply-To: rth@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, liviu.coman@active-knowledge.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org X-Mailer: gnatsweb 2.9.3 Subject: Re: optimization/4935: errno X-SW-Source: 2002-03/txt/msg00862.txt.bz2 List-Id: Synopsis: errno State-Changed-From-To: open->closed State-Changed-By: rth State-Changed-When: Fri Mar 22 16:59:51 2002 State-Changed-Why: This has nothing to do with gcc. This is a glibc problem (or misunderstanding -- I've not checked to see whether the implementation is absolutely required to set errno). In either case, one can get the desired results by adding -D__NO_MATH_INLINES to your command-line options, which will disable the inline implementation of fsqrt that is responsible for the observed behaviour. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4935