This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Remove options that are not disabled with -Os (PR web/87829).
- From: Martin Liška <mliska at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 2 Nov 2018 09:03:53 +0100
- Subject: [PATCH] Remove options that are not disabled with -Os (PR web/87829).
Hi.
I would like to remove options that are not disabled with -Os:
-freorder-blocks and -freorder-blocks-and-partition.
The option -freorder-blocks-and-partition is enabled on x86_64,
thus I would not name it under -Os option. And
-freorder-blocks-algorithm=algorithm chooses a different algorithm,
then disabling such option does not make sense.
Ready for trunk?
Martin
gcc/ChangeLog:
2018-11-02 Martin Liska <mliska@suse.cz>
PR web/87829
* doc/invoke.texi: Remove options that are
not disabled with -Os.
---
gcc/doc/invoke.texi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e290128f535..3ec3dd3ee96 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7974,8 +7974,7 @@ optimizations designed to reduce code size.
@option{-Os} disables the following optimization flags:
@gccoptlist{-falign-functions -falign-jumps -falign-loops @gol
--falign-labels -freorder-blocks -freorder-blocks-algorithm=stc @gol
--freorder-blocks-and-partition -fprefetch-loop-arrays}
+-falign-labels -fprefetch-loop-arrays}
@item -Ofast
@opindex Ofast