Package: src:llvm-toolchain-11 Version: 1:11.0.1-1 Severity: serious Tags: sid bullseye Forwarded: https://bugs.llvm.org/show_bug.cgi?id=48682
First seen at https://gcc.gnu.org/PR98557, at least on armhf $ cat > wxe_funcs.ii static __typeof() a __attribute__((__weakref__("pthread_mutex_destroy"))) $ /usr/lib/cvise/clang_delta --query-instances=replace-function-def-with-decl wxe_funcs.ii clang_delta: /usr/lib/llvm-11/include/llvm/ADT/PointerIntPair.h:178: static intptr_t llvm::PointerIntPairInfo<PointerT, IntBits, PtrTraits>::updatePointer(intptr_t, PointerT) [with PointerT = clang::Stmt*; unsigned int IntBits = 1; PtrTraits = llvm::PointerLikeTypeTraits<clang::Stmt*>; intptr_t = int]: Assertion `(PtrWord & ~PointerBitMask) == 0 && "Pointer is not sufficiently aligned"' failed. Aborted Expected behavior: $ /usr/lib/cvise/clang_delta --query-instances=replace-function-def-with-decl wxe_funcs.ii Available transformation instances: 0 Building the cvise and creduce packages with LLVM 9 or LLVM 10 doesn't show the segfault.