aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-14 00:14:22 +0100
committerMattias Andrée <maandree@kth.se>2016-03-14 00:14:22 +0100
commit6125c42b419f0ea6aa456d3f47c973f5b512dc5c (patch)
treef37ded623b6cbd935c718582e6b5c6b219eac864
parentMultiple changes: (diff)
downloadlibzahl-6125c42b419f0ea6aa456d3f47c973f5b512dc5c.tar.gz
libzahl-6125c42b419f0ea6aa456d3f47c973f5b512dc5c.tar.bz2
libzahl-6125c42b419f0ea6aa456d3f47c973f5b512dc5c.tar.xz
Add reference to clang bug report
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--src/allocator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/allocator.c b/src/allocator.c
index 41ce9ed..fd821a9 100644
--- a/src/allocator.c
+++ b/src/allocator.c
@@ -34,6 +34,7 @@ libzahl_realloc(z_t a, size_t need)
zahl_char_t *new;
#if defined(__clang__)
+ /* https://llvm.org/bugs/show_bug.cgi?id=26930 */
need = clang_warkaround_next_2pow(need);
#else
NEXT_2POW(need);