Subject: Re: Optimisation flags
To: Michael Brandt <mike@wowbagger.pc-labor.uni-bremen.de>
From: Andrew Brown <codewarrior@daemon.org>
List: current-users
Date: 06/26/1997 19:07:56
>> Is there any reason that the optimisation level for the C compiler
>> is set to -O instead of -O2?  I've had a quick look back through the
>> mailing list archives, but couldn't find any discussion about this.  I
>> have vague memories of some problems with the 68k machines, but that's
>> about it...
>
>I currently compile the kernel as well as the rest of the distribution
>here at home with -O2 and an also home-compiled gcc 2.7.2.2. I'm
>currently not sure wether the official NetBSD-current gcc is already
>at 2.7.2.2 too; mine was 2.7.2. I wouldn't recommend using 2.7.2 with
>-O2 because it contains some well known errors in the optimizer --- at
>least for the 68k which I use.

it is indeed 2.7.2.2, as the file

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/gnu/usr.bin/gcc/common/version.c

will tell you.  :)

-- 
|-----< "CODE WARRIOR" >-----|
andrew@echonyc.com (TheMan)        * "ah!  i see you have the internet
codewarrior@daemon.org                               that goes *ping*!"
warfare@graffiti.com      * "information is power -- share the wealth."