<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - r253905 polly ScopInfo.cpp fails to build on Mountain Lion with Xcode 5.1"
href="https://llvm.org/bugs/show_bug.cgi?id=25673">25673</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>r253905 polly ScopInfo.cpp fails to build on Mountain Lion with Xcode 5.1
</td>
</tr>
<tr>
<th>Product</th>
<td>Projects
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Polly
</td>
</tr>
<tr>
<th>Assignee</th>
<td>polly-dev@googlegroups.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremyhu@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15365" name="attach_15365" title="build log (compressed)">attachment 15365</a> <a href="attachment.cgi?id=15365&action=edit" title="build log (compressed)">[details]</a></span>
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> > >
<span class="quote">>::construct<std::__1::pair<std::__1::pair<llvm::AssertingVH<const</span >
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> > > >
<span class="quote">>::__construct<std::__1::pair<std::__1::pair<llvm::AssertingVH<const</span >
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> > > >
<span class="quote">>::construct<std::__1::pair<std::__1::pair<llvm::AssertingVH<const</span >
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> > > >
<span class="quote">>::__construct_backward<std::__1::pair<std::__1::pair<llvm::AssertingVH<const</span >
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> > > >
<span class="quote">>::__swap_out_circular_buffer' requested here</span >
__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> > > >
<span class="quote">>::__push_back_slow_path<std::__1::pair<std::__1::pair<llvm::AssertingVH<const</span >
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
^</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>