From owner-freebsd-current Thu Feb 24 18:30:42 2000 Delivered-To: freebsd-current@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with SMTP id C715137BD87 for ; Thu, 24 Feb 2000 18:30:35 -0800 (PST) (envelope-from dmmiller@cvzoom.net) Received: (qmail 20993 invoked from network); 25 Feb 2000 02:30:31 -0000 Received: from lcm208.cvzoom.net (208.230.69.208) by ns.cvzoom.net with SMTP; 25 Feb 2000 02:30:31 -0000 Date: Thu, 24 Feb 2000 21:30:05 -0500 (EST) From: Donn Miller To: David O'Brien Cc: User URANIA , freebsd-current@freebsd.org Subject: Re: Problem with IBM Netfinity 5000 Server In-Reply-To: <20000224145121.C90075@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 24 Feb 2000, David O'Brien wrote: > On Wed, Feb 23, 2000 at 02:27:31PM +0800, User URANIA wrote: > > I also set these flags at my /etc/make.conf > > CFLAGS= -mpentiumpro -O6 -pipe -funroll-loops -fexpensive-optimizations > > COPTFLAGS= -mpentiumpro -O6 -pipe -funroll-loops > > -O6 (any -O above 3) is nonsense with the base GCC compiler. > I really have to wonder what people think they are getting by using such > hight -O values. I looked at the code for gcc a while back, and it looks like optimization levels of 3 and above are considered 3. So, -O6 is the same as -O3. I think gcc a long time ago had flags that went this high. I think pgcc uses -O6, though. Sometimes when using flags -mpentium -O3 -pipe, I'll get an "internal compiler error" unless I bump down the opt to -O2 or lower. This is good -- you want to have a compiler error saying the compiler can't do it, rather than having it creating the code anyway with bugs. - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message