https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98557
--- Comment #10 from Matthias Klose <doko at debian dot org> --- to reproduce the clang_delta segfault: $ cat wxe_funcs.ii static __typeof() a __attribute__((__weakref__("pthread_mutex_destroy"))) $ /usr/lib/arm-linux-gnueabihf/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 (core dumped)