From owner-freebsd-stable Thu Mar 23 12:35:51 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.Stanford.EDU (smtp.Stanford.EDU [171.64.14.23]) by hub.freebsd.org (Postfix) with ESMTP id A95FC37C54B; Thu, 23 Mar 2000 12:35:38 -0800 (PST) (envelope-from cscox@stanford.edu) Received: from cardinal0.Stanford.EDU (cardinal0.Stanford.EDU [171.64.14.231]) by smtp.Stanford.EDU (8.9.3/8.9.3) with ESMTP id MAA14646; Thu, 23 Mar 2000 12:35:35 -0800 (PST) Date: Thu, 23 Mar 2000 12:35:35 -0800 (PST) From: Charles Cox To: Andrew Gallatin Cc: Cy Schubert - ITSD Open Systems Group , obrien@FreeBSD.ORG, Howard Leadmon , freebsd-alpha@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Compiler problems with -O2 (was Re: CVS Trouble, even under 4.0-RELEASE (alpha) HELP!) In-Reply-To: <14554.28033.439748.801349@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 23 Mar 2000, Andrew Gallatin wrote: > > Charles Cox writes: > > I would like to add that some of us who do a lot of numerically intensive > > programming, and that need to squeeze every last available cycle out of > > our CPU's would really appreciate having -O2 available for userland > > programs. To me, getting rid of the -O2+ switch would be like outlawing > > cars because someone had a really bad car accident. Just like driving a > > car, using gcc and the -O2 switch safely are the USER's > > responsibility. Having said this though, I do fully support having > > comments in make.conf, and documentation elsewhere that cautions against > > compiling a kernel with -O2. > > > > CC > > You're missing the point almost entirely. FreeBSD's stock gcc -O2 is > demonstrably __broken__ on the alpha. You cannot trust code it > outputs. > > If you want to obtain results as quickly as possible & do not care if > they are correct, it would be much faster to read them from > /dev/zero. ;-) > Oh, well that's a little different then, isn't it? CC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message