aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-10-17 04:35:59 +0200
committerMattias Andrée <m@maandree.se>2026-10-17 04:35:59 +0200
commit567fcc7d823eb5eedeb01a0cbc7adc9f684092f0 (patch)
tree442eade5eeaf72b56c29fe3048b3a09eefec1b0e
parentWork around miscompilation bug with clang(1) 22.1.8 (diff)
downloadlibcmap-567fcc7d823eb5eedeb01a0cbc7adc9f684092f0.tar.gz
libcmap-567fcc7d823eb5eedeb01a0cbc7adc9f684092f0.tar.bz2
libcmap-567fcc7d823eb5eedeb01a0cbc7adc9f684092f0.tar.xz
m
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--UnicodeData.parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/UnicodeData.parse.c b/UnicodeData.parse.c
index cab9d5e..a5879b9 100644
--- a/UnicodeData.parse.c
+++ b/UnicodeData.parse.c
@@ -290,6 +290,9 @@ sequence_cmp(const void *a_, const void *b_)
}
+#if defined(__GNUC__)
+__attribute__((__pure__))
+#endif
static int
is_same_sequence(const uint32_t *a, const uint32_t *b, size_t n)
{