Skip site navigation (1)Skip section navigation (2)
Date:      24 Sep 1999 11:49:28 +0300
From:      Ville-Pertti Keinonen <will@iki.fi>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gcc optimizer in -current system ...
Message-ID:  <86yadwvgmf.fsf@not.demophon.com>
In-Reply-To: "Daniel C. Sobral"'s message of "24 Sep 1999 10:10:40 %2B0300"
References:  <Pine.LNX.4.10.9909231904110.3469-100000@picard.mandrakesoft.de> <37EAEB1A.3B0E4263@newsguy.com.newsgate.clinet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

"Daniel C. Sobral" <dcs@newsguy.com> writes:

> bsd@picard.mandrakesoft.de wrote:
> > 
> > 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).
> 
> The point is that it _does_ hurt. Anything above -O3 is _likely_ to
> have bugs.

That only applies to pgcc, which shouldn't be used as anything other
than an experimental compiler, anyhow.

Whether real future gcc versions will enable new optimizations at
levels > 3 is, to my knowledge, an open question.  I don't like the
thought myself, because -O3 already includes an often undesirable
optimization (automatic inlining).



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?86yadwvgmf.fsf>