This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/88345] -Os overrides -finline-functions=N on the command line
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Dec 2018 09:03:27 +0000
- Subject: [Bug middle-end/88345] -Os overrides -finline-functions=N on the command line
- Auto-submitted: auto-generated
- References: <bug-88345-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345
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
-Og).