From owner-freebsd-stable Tue May 8 16:44:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from krycek.zoominternet.net (krycek.zoominternet.net [63.67.120.9]) by hub.freebsd.org (Postfix) with SMTP id 419FF37B422 for ; Tue, 8 May 2001 16:44:29 -0700 (PDT) (envelope-from dmmiller@cvzoom.net) Received: (qmail 29244 invoked from network); 8 May 2001 23:42:49 -0000 Received: from acs-24-154-37-140.zoominternet.net (HELO cvzoom.net) (24.154.37.140) by krycek.zoominternet.net with SMTP; 8 May 2001 23:42:49 -0000 Message-ID: <3AF884DC.41644622@cvzoom.net> Date: Tue, 08 May 2001 19:44:28 -0400 From: Donn Miller X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Erik Trulsson Cc: freebsd-stable@FreeBSD.ORG Subject: Re: CFLAGS Optimization References: <200105082305.QAA04771@freeway.dcfinc.com> <20010509013515.A2725@student.uu.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Erik Trulsson wrote: > I have had both userland and kernel compiled using -O2 without noticing > any problems. On the other hand I didn't notice much of a performance > gain either so I decided that the extra compile time wasn't worth it. Translation: don't even think about using optimization levels beyond -O for mission-critical apps like userland and kernel without realizing the consequences. Save that for your projects that really need it, like scientific and multimedia stuff and your own "local" projects. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message