diff mbox series

Update documentation on optimizations turned on by O3

Message ID 7da95007-3d07-40b7-567c-50f16912fec3@theobroma-systems.com
State New
Headers show
Series Update documentation on optimizations turned on by O3 | expand

Commit Message

Erick Ochoa April 22, 2020, 3:14 p.m. UTC
Hello,

I noted that the optimizations turned on by O3 was outdated in the 
documentation. Here is the discussion that brought it to my attention:
https://gcc.gnu.org/pipermail/gcc/2020-April/232164.html

  @item -O0

Comments

Li, Pan2 via Gcc-patches April 22, 2020, 5:17 p.m. UTC | #1
On Wed, 2020-04-22 at 17:14 +0200, Erick Ochoa wrote:
> Hello,
> 
> I noted that the optimizations turned on by O3 was outdated in the 
> documentation. Here is the discussion that brought it to my attention:
> https://gcc.gnu.org/pipermail/gcc/2020-April/232164.html
THanks.  I've created a ChangeLog entry and pushed this fix.

Jeff
>
diff mbox series

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e2bc2559218..a28001a5adf 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -9241,14 +9241,14 @@  by @option{-O2} and also turns on the following 
optimization flags:
  -floop-unroll-and-jam @gol
  -fpeel-loops @gol
  -fpredictive-commoning @gol
+-fsplit-loops @gol
  -fsplit-paths @gol
--ftree-loop-distribute-patterns @gol
  -ftree-loop-distribution @gol
  -ftree-loop-vectorize @gol
  -ftree-partial-pre @gol
  -ftree-slp-vectorize @gol
  -funswitch-loops @gol
--fvect-cost-model @gol
+-fvect-cost-model=dynamic @gol
  -fversion-loops-for-strides}