On Fri, Mar 11, 2022 at 4:20 PM Richard Earnshaw < Richard.Earnshaw@xxxxxxxxxxxx> wrote: > > 1) why newer gcc versions don't generate the smallest possible size in > > spite of -Os? > > The compiler is trying to identify opportunities to generate even better > code for more common cases. > > > 2) is there a way to get the smaller code with newer gcc versions? > > Unfortunately, no. At least not at present. Thanks, the info you provided was very helpful in understanding my options. Gabriele