From owner-freebsd-current@FreeBSD.ORG Sat May 26 19:32:57 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E646B16A400 for ; Sat, 26 May 2007 19:32:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC3C13C4B0 for ; Sat, 26 May 2007 19:32:57 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4QJVXeO054918 for ; Sat, 26 May 2007 12:31:33 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4QJVS5v054917 for freebsd-current@freebsd.org; Sat, 26 May 2007 12:31:28 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 12:31:28 -0700 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20070526193128.GB54875@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: HEADS-UP: gcc-4.2 import appears to miscompile libm. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2007 19:32:58 -0000 mobile:kargl[234] cat a.c #include #include int main (void) { int n; float a; a = 1.f; printf("%f\n", frexpf(a,&n)); return 0; } mobile:kargl[235] cc -o z a.c -lm mobile:kargl[236] ./z 1.000000 mobile:kargl[237] cc --version cc (GCC) 4.2.0 20070514 [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. frexpf() should return a value in [1/2,1). -- Steve