]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compiler: rely on builtin detection for __builtin_unreachable()
authorWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2024 08:10:53 +0000 (09:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 17 Dec 2024 15:46:46 +0000 (16:46 +0100)
commit41fc18b1d1a37e2a6645ea4a8fb4d2d5f009fc0c
tree2fa7948ec90bef7a2a7b751008611d7d9895b52b
parent96cfcb1df36fdf8fb963371ad5e167c733d842b1
MINOR: compiler: rely on builtin detection for __builtin_unreachable()

Due to __builtin_unreachable() only being associated to gcc 4.5 and
above, it turns out it was not enabled for clang. It's not used *that*
much but still a little bit, so let's enable it now. This reduces the
code size by 0.2% and makes it a bit more efficient.
include/haproxy/compiler.h