[PATCH] D54472: Disable invalid isPodLike<> specialization

Anastasia Stulova via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 21 09:42:43 PST 2019


Anastasia added a comment.

In D54472#1365186 <https://reviews.llvm.org/D54472#1365186>, @sylvestre.ledru wrote:

> @serge-sans-paille 
>  This (probably) broke LLVM on Debian jessie with gcc 4.9. It fails with:
>
> > /build/llvm-toolchain-snapshot-9~svn351724/include/llvm/ADT/PointerIntPair.h: In instantiation of 'struct llvm::PointerIntPairInfo<clang::Module*, 2u, llvm::PointerLikeTypeTraits<clang::Module*> >':
> >  /build/llvm-toolchain-snapshot-9~svn351724/tools/clang/include/clang/Lex/ModuleMap.h:158:29:   required from here
> >  /build/llvm-toolchain-snapshot-9~svn351724/include/llvm/ADT/PointerIntPair.h:133:3: error: static assertion failed: PointerIntPair with integer size too large for pointer
> >  static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
> >  ^


Actually the issue I am seeing it this too, but I don't feel it belongs to this commit... after reverting it the build still seem to fail in the same way. Perhaps we have some other problem too.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54472/new/

https://reviews.llvm.org/D54472





More information about the llvm-commits mailing list