From owner-freebsd-current@FreeBSD.ORG Thu Apr 29 08:47:31 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C27CB16A4CE for ; Thu, 29 Apr 2004 08:47:31 -0700 (PDT) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B203643D41 for ; Thu, 29 Apr 2004 08:47:31 -0700 (PDT) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id AA8CE5C7EA; Thu, 29 Apr 2004 08:47:31 -0700 (PDT) Date: Thu, 29 Apr 2004 17:47:31 +0200 From: Maxime Henrion To: Arnvid Karstad Message-ID: <20040429154731.GC700@elvis.mu.org> References: <29380.195.204.81.3.1083237898.squirrel@ssl.speedroad.net> <20040429113726.GB700@elvis.mu.org> <20040429164945.5EAD.ARNVID@karstad.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040429164945.5EAD.ARNVID@karstad.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: problems compiling world in 5.2.1-pX? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 29 Apr 2004 15:47:31 -0000 Arnvid Karstad wrote: > > On Thu, 29 Apr 2004 13:37:26 +0200 - Maxime Henrion wrote: > > This particular warning with optimizations superior to -O has been fixed in > > -CURRENT. There are still other problems with high optimization levels > > though. > > > Altho the error was a syntax error not an optimization error.... Er, no. The error wasn't even an error, it was a warning. If it was a syntax error, building with -O wouldn't work either. The build stopped because we're using -Werror to avoid regressions. The fact that this warning is only catched with high optimization levels could be considered a bug in GCC. Cheers, Maxime