]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove repeated information in -ftree-loop-distribute-patterns doc
authorJan Hubicka <jh@suse.cz>
Tue, 23 Apr 2024 13:51:42 +0000 (15:51 +0200)
committerJan Hubicka <jh@suse.cz>
Tue, 23 Apr 2024 13:51:42 +0000 (15:51 +0200)
We have:

       -ftree-loop-distribute-patterns
           Perform loop distribution of patterns that can be code generated with calls to a library.  This flag is enabled by default at -O2 and higher, and by -fprofile-use and -fauto-profile.

           This pass distributes the initialization loops and generates a call to memset zero.  For example, the loop

...

           and the initialization loop is transformed into a call to memset zero.  This flag is enabled by default at -O3.  It is also enabled by -fprofile-use and -fauto-profile.

Which mentions optimizatoin flags twice and the repeated mention is out of
date, since we enable this option at -O2 as well.

gcc/ChangeLog:

* doc/invoke.texi (-ftree-loop-distribute-patterns): Remove duplicated
sentence about optimization flags implying this.

gcc/doc/invoke.texi

index 2a35dc7ac7589ae09b9ee4e22cf1a3cf66d57993..27c31ab0c86bf35a85e4fcb2ac7784c1d57d1b74 100644 (file)
@@ -13852,8 +13852,6 @@ DO I = 1, N
 ENDDO
 @end smallexample
 and the initialization loop is transformed into a call to memset zero.
-This flag is enabled by default at @option{-O3}.
-It is also enabled by @option{-fprofile-use} and @option{-fauto-profile}.
 
 @opindex floop-interchange
 @item -floop-interchange