<html>
<head>
<base href="http://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 --- - Crash in debug info generation for inherited constructors of template specializations that use default template arguments."
href="http://llvm.org/bugs/show_bug.cgi?id=16974">16974</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash in debug info generation for inherited constructors of template specializations that use default template arguments.
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>LLVM Codegen
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>sebastian.redl@getdesigned.at
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Clang crashes when generating debug info (-gdwarf-2) in a program that contains
a constructor inherited from a template partial specialization, that uses a
default template argument for SFINAE tricks.
Two test cases that are very similar, but lead to slightly different crashes. I
think they're the same underlying bug though, or at least two closely related
bugs.
Tested on MacOS X 10.6 with tip-of-tree Release+Asserts Clang.
/usr/local/bin/clang -cc1 -emit-obj -gdwarf-2 -disable-free -O0 -Werror
-std=c++11 -x c++ concat-<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Need to add product version numbers"
href="show_bug.cgi?id=1">bug1</a>.cpp
/usr/local/bin/clang -cc1 -emit-obj -gdwarf-2 -disable-free -O0 -Werror
-std=c++11 -x c++ concat-<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Linking two .a files explicitly on the command line fails"
href="show_bug.cgi?id=3">bug3</a>.cpp</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>