From owner-freebsd-current Thu Sep 23 11: 3:54 1999 Delivered-To: freebsd-current@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by hub.freebsd.org (Postfix) with ESMTP id 2399514D3A for ; Thu, 23 Sep 1999 11:03:48 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id LAA28917; Thu, 23 Sep 1999 11:03:14 -0700 (PDT) (envelope-from dillon) Date: Thu, 23 Sep 1999 11:03:14 -0700 (PDT) From: Matthew Dillon Message-Id: <199909231803.LAA28917@apollo.backplane.com> To: bsd@picard.mandrakesoft.de Cc: Dan Nelson , The Hermit Hacker , freebsd-current@FreeBSD.ORG Subject: Re: gcc optimizer in -current system ... References: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :> :> -O6 is too much; -O3 is the highest level tested for by egcs. : :But specifying something too high (-O99) doesn't hurt - I'm using -O6 for :gcc 2.95.1 (which, by the way, compiles almost everything in 3.3-RELEASE :and 4.0-CURRENT, the only thing still troubling me with it is the kernel). : :LLaP :bero 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. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message