[PATCH][OBVIOUS] docs: Mention that -fgcse-after-reload is enabled with -O3.

Martin Liška mliska@suse.cz
Tue Jun 1 12:18:57 GMT 2021

Pushed as obvious where I verified that it's really enabled with -O3.



	PR other/100826
	* doc/invoke.texi: Mention that -fgcse-after-reload
	is enabled with -O3.
  gcc/doc/invoke.texi | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 5cd4e2d993c..08c3206b719 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -10708,7 +10708,7 @@ When @option{-fgcse-after-reload} is enabled, a redundant load elimination
  pass is performed after reload.  The purpose of this pass is to clean up
  redundant spilling.
-Enabled by @option{-fprofile-use} and @option{-fauto-profile}.
+Enabled by @option{-O3}, @option{-fprofile-use} and @option{-fauto-profile}.
  @item -faggressive-loop-optimizations
  @opindex faggressive-loop-optimizations

More information about the Gcc-patches mailing list