From owner-freebsd-current Thu Aug 1 11:16: 0 2002 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 0250E37B400; Thu, 1 Aug 2002 11:15:58 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 717BE43E4A; Thu, 1 Aug 2002 11:15:56 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA27299; Fri, 2 Aug 2002 04:15:54 +1000 Date: Fri, 2 Aug 2002 04:20:53 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: "David O'Brien" Cc: John Baldwin , Chris Knight , , Subject: Re: Comments on Release Building for -current In-Reply-To: <20020801173513.GC82778@dragon.nuxi.com> Message-ID: <20020802041414.A3616-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 1 Aug 2002, David O'Brien wrote: > On Fri, Aug 02, 2002 at 02:57:44AM +1000, Bruce Evans wrote: > > I'm surprised -Os [-falign...] isn't already the default for crunches. > > -Os is -O2 except for those optimizations which bloat. We don't trust > -O2 and thus maybe should not -Os. Hopefully we have found all our bad > in-line ASM and -O2 will work for FreeBSD now. -Os is actually -O2 except for those optimizations which bloat but plus some more optimizations which reduce bloat. The main additional one is -falign* to minimal values, so we wouldn't need both -Os -falign. I wouldn't trust -O2 for releases without lots of testing in -current (and not updating the compiler after testing). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message