<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 --- - [libc++][mips] ~35 diagnostic tests fail because errors do not prevent GAS being called (and one other reason)"
href="https://llvm.org/bugs/show_bug.cgi?id=26277">26277</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[libc++][mips] ~35 diagnostic tests fail because errors do not prevent GAS being called (and one other reason)
</td>
</tr>
<tr>
<th>Product</th>
<td>libc++
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</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>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>daniel.sanders@imgtec.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>This failure is a representative example for Mips:
libc++ :: std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp
One workaround seems to be adding -fintegrated-as but there's presumably a bug
in clang that this leaves unaddressed.
In addition, when I tried -save-temps, the verifier failed to find error
messages due to line wrapping caused by long paths. For example:
/scratch/mipssw1erpro002/das-local/llvm-3.8/release/rc1/libcxx.src/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp:32:9:
error:
call to deleted function 'cref'
cref(std::get<0>(tup4())); // expected-error {{call to deleted
function 'cref'}}
^~~~
<snip>
error: 'error' diagnostics expected but not seen:
File
/scratch/mipssw1erpro002/das-local/llvm-3.8/release/rc1/libcxx.src/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const_rv.fail.cpp
Line 32: call to deleted function 'cref'
With a shorter filename, both parts appear on the same line and the verifier
doesn't report failure.</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>