romcc -O and -O2

Eric W. Biederman ebiederman at
Thu Mar 25 19:39:00 CET 2004

YhLu <YhLu at> writes:

> Eric,
> What's the difference of -O and -O2? t seems -O2 can produce small code for
> auto.c.

The set of optimizations performed.  Essentially the difference
-O2 performs conditional constant propagation.  

Historically there have been some bugs with -02, but they should not apply
at this point.


More information about the coreboot mailing list