From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22597 invoked by alias); 21 Dec 2004 19:19:39 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22333 invoked by uid 48); 21 Dec 2004 19:19:31 -0000 Date: Tue, 21 Dec 2004 19:19:00 -0000 Message-ID: <20041221191931.22326.qmail@sourceware.org> From: "jlquinn at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040823040835.17140.jlquinn@gcc.gnu.org> References: <20040823040835.17140.jlquinn@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/17140] Floating point output is slow X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg03089.txt.bz2 List-Id: ------- Additional Comments From jlquinn at gcc dot gnu dot org 2004-12-21 19:19 ------- The power4 segfault occurs in frexpl() in libc, which is a result of calling __builtin_frexpl() inside std::frexp(long double). I was wondering if it might be a problem in long double representation. I think ppc uses 64 bit long double, which made me think that it should be calling frexp under the covers rather than frexpl. I also created a simple test program for frexp that sems to work for double and not for long double. This is making me think the problem isn't in this patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17140