https://bugs.openldap.org/show_bug.cgi?id=9899
--- Comment #2 from michael.osipov@siemens.com --- (In reply to Howard Chu from comment #1)
Fixed in https://git.openldap.org/openldap/openldap/-/merge_requests/555
Thanks a million! Here is a followup with LLVM: https://bugs.openldap.org/show_bug.cgi?id=9901