From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5567 invoked by alias); 22 Dec 2007 17:11:43 -0000 Received: (qmail 5556 invoked by uid 22791); 22 Dec 2007 17:11:41 -0000 X-Spam-Check-By: sourceware.org Received: from ns2.uludag.org.tr (HELO uludag.org.tr) (193.140.100.220) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 22 Dec 2007 17:11:27 +0000 Received: from ninjamobile.local (unknown [85.101.232.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by uludag.org.tr (Postfix) with ESMTP id 3278561E4913 for ; Sat, 22 Dec 2007 19:11:16 +0200 (EET) From: Ismail =?utf-8?q?D=C3=B6nmez?= To: gcc@gcc.gnu.org Subject: glibc 2.7 complex functions are possibly miscompiled by gcc 4.3 trunk Date: Sat, 22 Dec 2007 18:14:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20071204.744707) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712221911.32786.ismail@pardus.org.tr> X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2007-12/txt/msg00662.txt.bz2 Hi all, I am doing glibc 4.3 regression tests using gcc 4.3 trunk nearly every day and I see 3 tests fail : math/test-float math/test-ildoubl math/test-ifloat The erorrs are all similar : Failure: Test: Imaginary part of: cacosh (-0 + 0 i) == 0.0 + pi/2 i Result: is: 0.00000000000000000000e+00 0x0.00000000000000000000p+0 should be: 1.57079637050628662109e+00 0x1.921fb600000000000000p+0 difference: 1.57079637050628662109e+00 0x1.921fb600000000000000p+0 ulp : 13176795.0000 max.ulp : 0.0000 All of the imaginary part checks fail, with the help of GFortran maintainers we identified 2 testcases which fail with glibc 2.7 when compiled with gcc 4.3 trunk [0] . This problem also causes 32 unexpected failures on gfortran regression tests. So I wonder if you guys can help me debug this, I checked out libc sources but its mostly assembly stuff for math functions. Maybe Jakub has an idea, not sure. Any help/comment appreciated. [0] http://sourceware.org/bugzilla/show_bug.cgi?id=5490 Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again.