From owner-freebsd-current Thu Sep 23 11:49:12 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by hub.freebsd.org (Postfix) with ESMTP id 0255514CA0 for ; Thu, 23 Sep 1999 11:49:10 -0700 (PDT) (envelope-from bsd@picard.mandrakesoft.de) Received: from picard.mandrakesoft.de (root@picard.mandrakesoft.de [151.189.96.131]) by relay.pair.com (8.8.7/8.8.5) with ESMTP id OAA17271; Thu, 23 Sep 1999 14:09:08 -0400 (EDT) From: bsd@picard.mandrakesoft.de Received: from localhost (bsd@localhost) by picard.mandrakesoft.de (8.9.3/8.9.3) with ESMTP id UAA03679; Thu, 23 Sep 1999 20:11:21 +0200 Date: Thu, 23 Sep 1999 20:11:20 +0200 (CEST) To: Matthew Dillon Cc: Dan Nelson , The Hermit Hacker , freebsd-current@FreeBSD.ORG Subject: Re: gcc optimizer in -current system ... In-Reply-To: <199909231803.LAA28917@apollo.backplane.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, 23 Sep 1999, Matthew Dillon wrote: > I tend not to like the higher optimization levels because they cause > the compiler to attempt to turn static functions into inlines and, > in my opinion, it doesn't do a very good job of selecting which functions > to convert. The result is that I see bloated binaries with no > performance gain to show for it. > > EGCS's -Os is my favorite. Have you tried specifying -O6 and -Os (With -Os following -O6 because we want it to override the values set by -O6)? I haven't tried it for a while, but at least in an older egcs snapshot (somewhere between 1.1.2 and gcc 2.95), it worked (optimize as much as possible, but value size over speed). LLaP bero To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message