[Bug middle-end/88345] -Os overrides -finline-functions=N on the command line

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 4 09:03:00 GMT 2018


Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I disagree, with -Os you want smallest size.  Furthermore, the -On level can be
different between different functions within the TU, so it makes sense to
specify some alignment for the non-size optimized functions and let the
implementation do its best for size optimized ones.  It isn't unlike that -O0
ignores most of the user specified -fwhatever-optimization explicit options (or

More information about the Gcc-bugs mailing list