Mail Archives: djgpp/2000/01/17/11:29:21
On 17 Jan 00, at 12:45, Waldemar Schultz wrote:
> Kalum Somaratna aka Grendel schrieb:
> >
> > On 12 Jan 00, at 16:44, Damian Yerrick wrote:
> >
> > >
> > > IIRC, -O2 is better than -O3 much of the time.
> >
> > If this is the case as you put it, could you please tell us why even
> > the makefile in Allegro uses the -O3 option?
> >
> > IMHO I use the -O3 option and it has generated better code than
> > the -O2 option also without introducing any optimizer bugs.
> >
> > Kalum
>
> BTW can anyone explain the reason or benefits for using -O6 I often found in
> DJGPP distributions please.
>
-O6 is identical with -O3 for GCC. If somebody uses PGCC then -O6
really turns on additional optimizations. So for normal users -O2 is
usually the best.
- Raw text -