From owner-freebsd-current@FreeBSD.ORG Sat May 26 23:08:00 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 50ABC16A41F for ; Sat, 26 May 2007 23:08:00 +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 331D113C43E for ; Sat, 26 May 2007 23:08:00 +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 l4QN6XC3055952; Sat, 26 May 2007 16:06: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 l4QN6XMw055951; Sat, 26 May 2007 16:06:33 -0700 (PDT) (envelope-from sgk) Date: Sat, 26 May 2007 16:06:33 -0700 From: Steve Kargl To: Kris Kennaway Message-ID: <20070526230633.GA55908@troutmask.apl.washington.edu> References: <20070526193128.GB54875@troutmask.apl.washington.edu> <20070526214835.GS23313@hoeg.nl> <20070526224040.GA55701@troutmask.apl.washington.edu> <20070526225731.GA56181@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070526225731.GA56181@xor.obsecurity.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org, Ed Schouten Subject: Re: 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 23:08:00 -0000 On Sat, May 26, 2007 at 06:57:31PM -0400, Kris Kennaway wrote: > On Sat, May 26, 2007 at 03:40:40PM -0700, Steve Kargl wrote: > > > > Using -O instead of -O2 indeed appears to fix the problem. > > How about -O2 -fno-tree-vrp? > I'm getting there. For those new to gcc-4.x, there are -fdump-tree-* options that dump a boatload of intermediate results. I'm wading through the -fdump-tree-all directories. OK. -fno-tree-vrp does not help. -- Steve