<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 --- - Assertion failed: !Unexpanded.empty() && "Unable to find unexpanded parameter packs""
href="https://llvm.org/bugs/show_bug.cgi?id=28471">28471</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: !Unexpanded.empty() && "Unable to find unexpanded parameter packs"
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>other
</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>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jtony@ca.ibm.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>$ clang++ r.c -std=c++11
clang-3.8: warning: treating 'c' input as 'c++' when in C++ mode, this behavior
is deprecated
r.c:11:41: error: pack expansion does not contain any unexpanded parameter
packs
constexpr D ( T t , U ... u ) : V ( u ) ... { }
~~~~~~~ ^
Assertion failed: !Unexpanded.empty() && "Unable to find unexpanded parameter
packs", file:
/home/jtony/clang_syn/clang/llvm-dev.src/tools/clang/lib/Sema/SemaTemplateVariadic.cpp,
line: 290
CEE5207E The signal SIGABRT was received.
clang-3.8: error: unable to execute command: Signal 3
clang-3.8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (tags/RELEASE_380/final)
Target: s390-ibm-zos
Thread model: posix
InstalledDir: /home/jtony/runnable/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.8: error: unable to execute command: Signal 9
clang-3.8: note: diagnostic msg: Error generating preprocessed source(s).
CEE3561S External function get_new_handler__3stdFv was not found in DLL
CELHDCPP.
From compile unit
/home/jtony/clang_syn/clang/llvm-dev.src/tools/clang/lib/Basic/Diagnostic.cpp
at entry point
clang::DiagnosticsEngine::~DiagnosticsEngine() at statement 757 at
compile unit offset +000000BC at entry
offset +000000BC at address 2D018364.
$
$ cat r.c
template <class ...T>
struct D;
template <>
struct D <> {};
template <class T, class ...U>
struct D<T, U...> : D<U...> {
typedef D<U...> V;
D() {}
constexpr D ( T t , U ... u ) : V ( u ) ... { }
};
D<int,float> x(0, 0);
[JTONY@ZOSCAN1F ~/workItem/132595]$
This is also reproducible on linux for the debug version clang.</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>