[llvm-bugs] [Bug 25673] New: r253905 polly ScopInfo.cpp fails to build on Mountain Lion with Xcode 5.1

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Nov 29 15:49:43 PST 2015


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

            Bug ID: 25673
           Summary: r253905 polly ScopInfo.cpp fails to build on Mountain
                    Lion with Xcode 5.1
           Product: Projects
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Polly
          Assignee: polly-dev at googlegroups.com
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15365
  --> https://llvm.org/bugs/attachment.cgi?id=15365&action=edit
build log (compressed)

Recent polly fails to build on Mountain Lion with Xcode 5.1 (clang-503.0.35,
based on LLVM 3.4svn):

In file included from .../trunk/tools/polly/lib/Analysis/ScopInfo.cpp:21:
In file included from .../trunk/tools/polly/include/polly/Options.h:17:
In file included from .../trunk/include/llvm/Support/CommandLine.h:23:
In file included from .../trunk/include/llvm/ADT/ArrayRef.h:13:
In file included from .../trunk/include/llvm/ADT/Hashing.h:49:
In file included from .../trunk/include/llvm/Support/Host.h:17:
In file included from .../trunk/include/llvm/ADT/StringMap.h:17:
In file included from .../trunk/include/llvm/ADT/StringRef.h:14:
In file included from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:626:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/utility:284:11:
error: call to implicitly-deleted copy constructor of
'std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> >'
          second(__p.second)
          ^      ~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1641:31:
note: in instantiation of member function
'std::__1::pair<std::__1::pair<llvm::AssertingVH<const llvm::Value>, int>,
std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >::pair' requested here
            ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1568:18:
note: in instantiation of function template specialization
'std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >
>::construct<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >, const
std::__1::pair<std::__1::pair<llvm::AssertingVH<const llvm::Value>, int>,
std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > &>' requested here
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1449:14:
note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > >
>::__construct<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >, const
std::__1::pair<std::__1::pair<llvm::AssertingVH<const llvm::Value>, int>,
std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > &>' requested here
            {__construct(__has_construct<allocator_type, pointer, _Args...>(),
             ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:1531:17:
note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > >
>::construct<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >, const
std::__1::pair<std::__1::pair<llvm::AssertingVH<const llvm::Value>, int>,
std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > &>' requested here
                construct(__a, _VSTD::__to_raw_pointer(__end2-1),
_VSTD::move_if_noexcept(*--__end1));
                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:839:21:
note: in instantiation of function template specialization
'std::__1::allocator_traits<std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > >
>::__construct_backward<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > *>' requested here
    __alloc_traits::__construct_backward(this->__alloc(), this->__begin_,
this->__end_, __v.__begin_);
                    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:1528:5:
note: in instantiation of member function
'std::__1::vector<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >,
std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > >
>::__swap_out_circular_buffer' requested here
    __swap_out_circular_buffer(__v);
    ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/vector:1561:9:
note: in instantiation of function template specialization
'std::__1::vector<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >,
std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > >
>::__push_back_slow_path<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > >' requested here
        __push_back_slow_path(_VSTD::move(__x));
        ^
.../trunk/include/llvm/ADT/MapVector.h:80:14: note: in instantiation of member
function
'std::__1::vector<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >,
std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > > >::push_back' requested
here
      Vector.push_back(std::make_pair(Key, ValueT()));
             ^
.../trunk/tools/polly/lib/Analysis/ScopInfo.cpp:2963:31: note: in instantiation
of member function 'llvm::MapVector<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> >,
llvm::DenseMap<std::__1::pair<llvm::AssertingVH<const llvm::Value>, int>,
unsigned int, llvm::DenseMapInfo<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int> >,
llvm::detail::DenseMapPair<std::__1::pair<llvm::AssertingVH<const llvm::Value>,
int>, unsigned int> >,
std::__1::vector<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > >,
std::__1::allocator<std::__1::pair<std::__1::pair<llvm::AssertingVH<const
llvm::Value>, int>, std::__1::unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> > > > > >::operator[]' requested
here
  auto &SAI = ScopArrayInfoMap[std::make_pair(BasePtr, Kind)];
                              ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2510:31:
note: copy constructor is implicitly deleted because
'unique_ptr<polly::ScopArrayInfo,
std::__1::default_delete<polly::ScopArrayInfo> >' has a user-declared move
constructor
    _LIBCPP_INLINE_VISIBILITY unique_ptr(unique_ptr&& __u) _NOEXCEPT
                              ^

-- 
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/20151129/5b1a5c75/attachment-0001.html>


More information about the llvm-bugs mailing list