DJ Delorie <d...@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