diff mbox series

Remove options that are not disabled with -Os (PR web/87829).

Message ID 910bac89-988d-b899-3454-cf059ebba57f@suse.cz
State New
Headers show
Series Remove options that are not disabled with -Os (PR web/87829). | expand

Commit Message

Martin Liška Nov. 2, 2018, 8:03 a.m. UTC
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(-)

Comments

Jeff Law Nov. 3, 2018, 1:29 a.m. UTC | #1
On 11/2/18 2:03 AM, Martin Liška wrote:
> 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(-)
> 
> 
OK
jeff
diff mbox series

Patch

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