aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/string.c b/util/string.c
index 90d7127..9ce53fa 100644
--- a/util/string.c
+++ b/util/string.c
@@ -4,7 +4,7 @@
#include <stdint.h>
#include <ctype.h>
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__llvm__)
// Don't let GCC pattern-match these functions' bodies into self-calls
#pragma GCC optimize ("no-tree-loop-distribute-patterns")
#endif