<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - Many new warnings with gcc-8"
href="https://bugs.llvm.org/show_bug.cgi?id=37337">37337</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Many new warnings with gcc-8
</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>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>development@jonas-toth.eu
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=20264" name="attach_20264" title="Sorted, Unique Warnings from gcc-8">attachment 20264</a> <a href="attachment.cgi?id=20264&action=edit" title="Sorted, Unique Warnings from gcc-8">[details]</a></span>
Sorted, Unique Warnings from gcc-8
Using the new gcc-8 to build LLVM and clang results in many new warnings, that
are most related to `-Wclass-memaccess`.
Example:
```
llvm/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const
void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long
unsigned int>’ with no trivial copy-assignment; use copy-assignment or
copy-initialization instead [-Wclass-memaccess]
memcpy(this->end(), &Elt, sizeof(T));
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
All unique and sorted warnings are in the attachment.</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>