-Os is weak...

Ian Lance Taylor iant@google.com
Thu Sep 9 17:16:00 GMT 2010


DJ Delorie <dj@redhat.com> writes:

> But in reality, the only thing -Os does beyond -O2, aside from a few
> niche special cases, is enable inlining, and maybe scheduling, which
> for some cases may be the wrong thing to do.

Some backends also check optimize_size to change their cost algorithms
to favor shorter instruction sequences.

Ian



More information about the Gcc mailing list