diff options
author | Sandra Loosemore <sloosemore@baylibre.com> | 2025-04-06 04:39:59 +0000 |
---|---|---|
committer | Sandra Loosemore <sloosemore@baylibre.com> | 2025-04-06 04:46:43 +0000 |
commit | 13c9b353895fef8d5b1593b7527df41487c512d1 (patch) | |
tree | 8cdf06fc4123e7850b2e9160e60dd5445c2815ea /gcc | |
parent | 7a91400c142899ea0aeb8b62577496cf24c68156 (diff) | |
download | gcc-13c9b353895fef8d5b1593b7527df41487c512d1.zip gcc-13c9b353895fef8d5b1593b7527df41487c512d1.tar.gz gcc-13c9b353895fef8d5b1593b7527df41487c512d1.tar.bz2 |
Doc: Fix description of -Wno-aggressive-loop-optimizations [PR78874]
gcc/ChangeLog
PR middle-end/78874
* doc/invoke.texi (Warning Options): Fix description of
-Wno-aggressive-loop-optimizations to reflect that this turns
off the warning, and the default is for it to be enabled.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/doc/invoke.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 91ed43d..d5103f4 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -10109,8 +10109,9 @@ a warning.) @opindex Wno-aggressive-loop-optimizations @opindex Waggressive-loop-optimizations @item -Wno-aggressive-loop-optimizations -Warn if in a loop with constant number of iterations the compiler detects -undefined behavior in some statement during one or more of the iterations. +Do not warn if the compiler detects undefined behavior in a loop with +a constant number of iterations. @option{-Waggressive-loop-optimizations} +is enabled by default. @opindex Wno-attributes @opindex Wattributes |