fix inaccuracies in comment

This commit is contained in:
nhmall
2020-01-04 07:35:53 -05:00
parent cd4376a208
commit d6bc9f0bb3

View 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?]
*/