<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 - wasm/OutputSections.cpp is causing warning on GCC"
href="https://bugs.llvm.org/show_bug.cgi?id=42546">42546</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>wasm/OutputSections.cpp is causing warning on GCC
</td>
</tr>
<tr>
<th>Product</th>
<td>lld
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>wasm
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>denis.bakhvalov@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org, sbc@chromium.org
</td>
</tr></table>
<p>
<div>
<pre>After
commit e7eb8f099298b4c79397a1a287910628c82cc319
Author: Thomas Lively <<a href="mailto:tlively@google.com">tlively@google.com</a>>
Date: Wed Jul 3 22:04:54 2019 +0000
[WebAssembly] Add option to emit passive segments
We have new warning reported by GCC (I tested at least gcc 5.5.0):
lld/wasm/OutputSections.cpp: In member function ‘virtual void
lld::wasm::DataSection::finalizeContents()’:
lld/wasm/OutputSections.cpp:136:31: error: suggest parentheses around ‘&&’
within ‘||’ [-Werror=parentheses]
Segments.size() <= 1 &&
^
The fix should be trivial.</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>