From owner-freebsd-stable@FreeBSD.ORG Sun Mar 23 19:28:17 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 562171065670 for ; Sun, 23 Mar 2008 19:28:17 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from pne-smtpout4-sn1.fre.skanova.net (pne-smtpout4-sn1.fre.skanova.net [81.228.11.168]) by mx1.freebsd.org (Postfix) with ESMTP id 132CB8FC1A for ; Sun, 23 Mar 2008 19:28:16 +0000 (UTC) (envelope-from mikael.ikivesi@pp.inet.fi) Received: from localhost (80.221.11.59) by pne-smtpout4-sn1.fre.skanova.net (7.3.129) (authenticated as tansmi-f) id 47A7970A00294AB5; Sun, 23 Mar 2008 20:28:15 +0100 Date: Sun, 23 Mar 2008 21:27:45 +0200 From: Mikael Ikivesi To: Jeremy Chadwick Message-ID: <20080323212745.5de15870@pp.inet.fi> In-Reply-To: <20080323115801.GA68873@eos.sc1.parodius.com> References: <20080322192433.3719eb44@pp.inet.fi> <20080323115801.GA68873@eos.sc1.parodius.com> X-Mailer: Claws Mail 3.3.0 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: gcc -O2 error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 19:28:17 -0000 On Sun, 23 Mar 2008 04:58:01 -0700 Jeremy Chadwick wrote: > > There's an off-by-one error in your code, which is very likely > tickling a bug in gcc. Thanks.. I know...took me a while to find it. And as code still seemed to work when built without -O2 it was hard to spot. I sent bug report to gcc team as the -O2 did bork it, regardless of my buggy coding :) -Mikael