On Thu, 24 Feb 2000, David O'Brien wrote:

> On Wed, Feb 23, 2000 at 02:27:31PM +0800, User URANIA wrote:
> >     I also set these flags at my /etc/make.conf
> > CFLAGS= -mpentiumpro -O6 -pipe -funroll-loops -fexpensive-optimizations
> > COPTFLAGS= -mpentiumpro -O6 -pipe -funroll-loops
> 
> -O6 (any -O above 3) is nonsense with the base GCC compiler.
> I really have to wonder what people think they are getting by using such
> hight -O values.

I looked at the code for gcc a while back, and it looks like optimization
levels of 3 and above are considered 3.  So, -O6 is the same as -O3.  I
think gcc a long time ago had flags that went this high.  I think pgcc
uses -O6, though.

Sometimes when using flags -mpentium -O3 -pipe, I'll get an "internal
compiler error" unless I bump down the opt to -O2 or lower.  This is good
-- you want to have a compiler error saying the compiler can't do it,
rather than having it creating the code anyway with bugs.


- Donn



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to