Richard W.M. Jones wrote:
Subject: [PATCH 1/5] Disable -Wunsafe-loop-optimizations
This warning indicates that GCC could not do a particular sort of loop optimization. It pops up randomly in certain forms of looping code, and seems safe to ignore. --- configure.ac | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac index b28f316..95ab51e 100644 --- a/configure.ac +++ b/configure.ac @@ -84,6 +84,8 @@ if test "$gl_gcc_warnings" = yes; then nw="$nw -Winline" # daemon.h's asprintf_nowarn nw="$nw -Wshadow" # numerous, plus we're not unanimous # ?? -Wstrict-overflow + nw="$nw -Wunsafe-loop-optimizations" # just a warning that an optimization + # was not possible, safe to ignore
ACK. Unfortunate that they chose such a misleading name. I agree it is safe to disable it.