]> granicus.if.org Git - nethack/commitdiff
fix inaccuracies in comment
authornhmall <nhmall@nethack.org>
Sat, 4 Jan 2020 12:35:53 +0000 (07:35 -0500)
committernhmall <nhmall@nethack.org>
Sat, 4 Jan 2020 12:35:53 +0000 (07:35 -0500)
src/hacklib.c

index 7afebd2193f11609659e6402d68ff47abcfcef1b..610646c359a790d46372d95bcd6bf6bbab22954b 100644 (file)
@@ -431,10 +431,10 @@ char *sbuf; /* assumed to be [BUFSZ] but can be smaller provided that expanded
     for (bp = buf, idx = 0; *s; s++) {
         if (*s == '\t') {
             /*
-             * clang-8's optimizer at -O4 has been observed to mis-compile
-             * this code when unrolling the loop.  Symptom is nethack
-             * getting stuck in an apparent infinite loop (or perhaps just
-             * an extremely long one) when examining data.base entries.
+             * clang-8's optimizer at -Os has been observed to mis-compile
+             * this code.  Symptom is nethack getting stuck in an apparent
+             * infinite loop (or perhaps just an extremely long one) when
+             * examining data.base entries.
              * clang-9 doesn't exhibit this problem.  [Was the incorrect
              * optimization fixed or just disabled?]
              */