From e792a30bb34b47ff6eac1b16493a9e7066b307b9 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 28 Mar 2019 09:53:49 +0100 Subject: [PATCH] Backport r265786 2019-03-28 Martin Liska Backport from mainline 2018-11-05 Martin Liska PR web/87829 * doc/invoke.texi: Remove options that are not disabled with -Os. From-SVN: r269987 --- gcc/ChangeLog | 9 +++++++++ gcc/doc/invoke.texi | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b81f2fd027a2..41e6f1ee48a8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2019-03-28 Martin Liska + + Backport from mainline + 2018-11-05 Martin Liska + + PR web/87829 + * doc/invoke.texi: Remove options that are + not disabled with -Os. + 2019-02-26 Richard Biener Backport from mainline diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a41d275e89d4..8f279e454b09 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7140,8 +7140,7 @@ do not typically increase 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} It also enables @option{-finline-functions}, causes the compiler to tune for code size rather than execution speed, and performs further optimizations -- 2.47.2