From owner-freebsd-current@FreeBSD.ORG Mon Jun 25 15:45:37 2007 Return-Path: X-Original-To: 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 7CE4316A469; Mon, 25 Jun 2007 15:45:37 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id ED9A513C447; Mon, 25 Jun 2007 15:45:36 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.1/8.14.1) with ESMTP id l5PFjZN5054525; Mon, 25 Jun 2007 19:45:35 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nagual.pp.ru; s=default; t=1182786335; bh=CukScSNBIC2uV+Dot8eEOR2LtpKtgKZu99WmohL l6RE=; l=1444; h=Received:Date:From:To:Cc:Subject:Message-ID: Mail-Followup-To:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:User-Agent; b=ZYeZGSamydc04myEmfMf f28XaslkCzOQdT/r+j/j1N9eqBGMXJM0D5atZbyer7w6nllK8H1WpZsVxwEOXl/Jm5m gpjUZJoVrUUoLE01g1vHFjd168jNFKAT8Uhin2tJ8MDNJqpPJlLGHYXj2yn4rTA/sxI R8UvQGQ36okRgAr8Y= Received: (from ache@localhost) by nagual.pp.ru (8.14.1/8.14.1/Submit) id l5PFjZmj054524; Mon, 25 Jun 2007 19:45:35 +0400 (MSD) (envelope-from ache) Date: Mon, 25 Jun 2007 19:45:35 +0400 From: Andrey Chernov To: Ed Schouten Message-ID: <20070625154535.GA54420@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Ed Schouten , Alexander Kabaev , current@freebsd.org, kan@freebsd.org References: <20070625130913.GA50273@nagual.pp.ru> <20070625133951.GA51324@nagual.pp.ru> <8e5ef5f70706250659v48f64410wb5399985a571087e@mail.gmail.com> <20070625145627.GA53685@nagual.pp.ru> <20070625151508.GO27942@hoeg.nl> <20070625152559.GA54055@nagual.pp.ru> <20070625153840.GP27942@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20070625153840.GP27942@hoeg.nl> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: kan@freebsd.org, current@freebsd.org Subject: Re: Silent gcc 4.2.0 loop optimization bug with -O2 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: Mon, 25 Jun 2007 15:45:37 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 25, 2007 at 05:38:40PM +0200, Ed Schouten wrote: > * Andrey Chernov wrote: > > I am not familiar with gcc bugs reporting system at all. Could somebody= =20 > > running 4.2.1 snapshot tells, is it already fixed, by chance? If no, co= uld=20 > > sumebody fill bug report to them or provide detailed instructions how t= o=20 > > do that, please? >=20 > I couldn't find a similar bug in Bugzilla (though my knowledge of GCC > internals is quite poor), so I opened a new bug: >=20 > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D32500 Thanx! Is it safe to change flags to -O1 per your report? Any objections on the following workaround patch to -current? --- sys.mk.orig 2007-06-25 19:42:40.000000000 +0400 +++ sys.mk 2007-06-25 19:43:01.000000000 +0400 @@ -35,7 +35,7 @@ CFLAGS ?=3D -O .else CC ?=3D cc -CFLAGS ?=3D -O2 -fno-strict-aliasing -pipe +CFLAGS ?=3D -O1 -pipe .endif =20 CXX ?=3D c++ --=20 http://ache.pp.ru/ --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFGf+MfVg5YK5ZEdN0RApp4AKCqtNDc4SpkpnJ2AdAoBKfIvhCIXQCfYCGn aiWEE/FcLWNFciP6Kw5PnK8= =2hHT -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--