https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86095
Bug ID: 86095
Summary: stale documentation for -Wunsafe-loop-optimizations
Product: gcc
Version: 8.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: sshannin at gmail dot com
Target Milestone: ---
For the man page shipped with 8.1.0, the description of
-Wunsafe-loop-optimizations still references the -funsafe-loop-optimizations
option, however that optimization is neither described nor referenced anywhere
else in the documentation.
I dug up https://gcc.gnu.org/ml/gcc-patches/2016-07/threads.html#00956, which
seems to indicate the option was removed. It does not appear however that the
documentation for the warning was updated to reflect this (nor was Richard's
suggested alias added, which may have also cleared up confusion).