I don't recall that the FreeBSD version of egcs is built with Haifa
turned on, which is supposed to improve optimizations as the level
is increased (more aggressive instruction scheduling.)

>       With egcs, the '-O' flag doesn't specify the optimization level like it
> does in GCC. It specifies the desired stability of the generated code. Lower
> numbers (0,1,2) request higher stability. ;)
> 
>       DS
> 
> > Dan Nelson wrote:
> > > -O4 doesn't exist in egcs (or it didn't a month or so ago).  According
> > > to the source, -O2 enables all optimizations except -funroll-all-loops,
> > > and all -O3 does is enable -funroll-all-loops.
> >
> > I think I recall reading somewhere that EGCS uses -O numbers > 3 to test
> > experimental optimizations.



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to