Date: Thu, 23 Sep 1999 11:03:14 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: bsd@picard.mandrakesoft.de Cc: Dan Nelson <dnelson@emsphone.com>, The Hermit Hacker <scrappy@hub.org>, freebsd-current@FreeBSD.ORG Subject: Re: gcc optimizer in -current system ... Message-ID: <199909231803.LAA28917@apollo.backplane.com> References: <Pine.LNX.4.10.9909231904110.3469-100000@picard.mandrakesoft.de>
next in thread | previous in thread | raw e-mail | index | archive | help
:> :> -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 <dillon@backplane.com> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909231803.LAA28917>
