From owner-freebsd-stable Tue May 8 1:13:26 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 2106337B424 for ; Tue, 8 May 2001 01:13:20 -0700 (PDT) (envelope-from dmmiller@cvzoom.net) Received: (qmail 1117 invoked from network); 8 May 2001 08:11:42 -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 08:11:42 -0000 Message-ID: <3AF7AA9E.C1DB678A@cvzoom.net> Date: Tue, 08 May 2001 04:13:18 -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: Mike Smith Cc: Juha Saarinen , Kris Kennaway , Nuno Teixeira , Guilherme Oliveira , FreeBSD Stable Subject: Re: CFLAGS Optimization References: <200105080810.f488AYi01702@mass.dis.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > It would be more accurate to say that Linux and FreeBSD have a compiler > with optimiser bugs, but that's widely known. Don't sound so surprised. 8) Don't all compilers have optimization bugs? I mean, if they didn't, then they'd probably just optimize the code without you asking. I think Borland C++ (3.0-5.0) used to have some optimization bugs. You know what the best optimization is? Replacing those bubble sorts with quicksorts, etc. Basically, optimization levels above -O are not supported, so if you have problems, it's not our fault. 8-) Basically, stay away from optimizations with mission-critical stuff such as the kernel and userland. For ports, it's OK. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message