[llvm-bugs] [Bug 25967] New: polly fails to build with the recent llvm changes about ptr-traits

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 30 03:16:22 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25967

            Bug ID: 25967
           Summary: polly fails to build with the recent llvm changes
                    about ptr-traits
           Product: Projects
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Polly
          Assignee: polly-dev at googlegroups.com
          Reporter: sylvestre at debian.org
                CC: chandlerc at gmail.com, llvm-bugs at lists.llvm.org,
                    tobias at grosser.es
    Classification: Unclassified

Since the recent changes from Chandler (r256620,r256618, r256617, etc), polly
fail to build
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/polly_3.8~svn256631/lib/CodeGen/CodeGeneration.cpp:22:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/build-llvm/tools/polly/../../../tools/polly/include/polly/CodeGen/IslAst.h:27:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/build-llvm/tools/polly/../../../tools/polly/include/polly/ScopPass.h:21:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Analysis/RegionPass.h:19:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Analysis/RegionInfo.h:40:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/DepthFirstIterator.h:37:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/PointerIntPair.h:18:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Support/PointerLikeTypeTraits.h:18:
In file included from
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Support/AlignOf.h:20:
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.2.1/../../../../include/c++/5.2.1/type_traits:690:38:
error: incomplete type 'isl_id' used in type
      trait expression
    : public integral_constant<bool, __is_abstract(_Tp)>
                                     ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Support/AlignOf.h:28:35:
note: 
      in instantiation of template class 'std::is_abstract<isl_id>' requested
here
template <typename T, bool = std::is_abstract<T>::value>
                                  ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Support/AlignOf.h:79:22:
note: 
      in instantiation of default argument for 'AlignmentCalcImpl<isl_id>'
required here
      sizeof(detail::AlignmentCalcImpl<T>) - sizeof(T));
                     ^~~~~~~~~~~~~~~~~~~~
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/Support/PointerLikeTypeTraits.h:45:48:
note: 
      in instantiation of template class 'llvm::AlignOf<isl_id>' requested here
    NumLowBitsAvailable = detail::ConstantLog2<AlignOf<T>::Alignment>::value
                                               ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/DenseMapInfo.h:38:13:
note: 
      in instantiation of template class 'llvm::PointerLikeTypeTraits<isl_id
*>' requested here
    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
            ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/DenseMap.h:344:22:
note: 
      in instantiation of member function 'llvm::DenseMapInfo<isl_id
*>::getEmptyKey' requested here
    return KeyInfoT::getEmptyKey();
                     ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/DenseMap.h:283:27:
note: 
      in instantiation of member function
'llvm::DenseMapBase<llvm::DenseMap<isl_id *, unsigned int,
llvm::DenseMapInfo<isl_id *>,
      llvm::detail::DenseMapPair<isl_id *, unsigned int> >, isl_id *, unsigned
int, llvm::DenseMapInfo<isl_id *>,
      llvm::detail::DenseMapPair<isl_id *, unsigned int> >::getEmptyKey'
requested here
    const KeyT EmptyKey = getEmptyKey();
                          ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/DenseMap.h:614:20:
note: 
      in instantiation of member function
'llvm::DenseMapBase<llvm::DenseMap<isl_id *, unsigned int,
llvm::DenseMapInfo<isl_id *>,
      llvm::detail::DenseMapPair<isl_id *, unsigned int> >, isl_id *, unsigned
int, llvm::DenseMapInfo<isl_id *>,
      llvm::detail::DenseMapPair<isl_id *, unsigned int> >::initEmpty'
requested here
      this->BaseT::initEmpty();
                   ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/DenseMap.h:554:5:
note: 
      in instantiation of member function 'llvm::DenseMap<isl_id *, unsigned
int, llvm::DenseMapInfo<isl_id *>,
      llvm::detail::DenseMapPair<isl_id *, unsigned int> >::init' requested
here
    init(NumInitBuckets);
    ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/include/llvm/ADT/MapVector.h:32:7:
note: 
      in instantiation of member function 'llvm::DenseMap<isl_id *, unsigned
int, llvm::DenseMapInfo<isl_id *>,
      llvm::detail::DenseMapPair<isl_id *, unsigned int> >::DenseMap' requested
here
class MapVector {
      ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-snapshot_3.8~svn256631/build-llvm/tools/polly/../../../tools/polly/lib/External/isl/include/isl/id.h:13:8:
note: 
      forward declaration of 'isl_id'
struct isl_id;
       ^
1 warning and 1 error generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151230/b5aa8a3c/attachment-0001.html>


More information about the llvm-bugs mailing list