<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 - No way to disable remark output from opt even with --no-warn"
href="https://bugs.llvm.org/show_bug.cgi?id=45422">45422</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>No way to disable remark output from opt even with --no-warn
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>opt
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>d.maljutin@yandex.ru
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Example: <a href="https://godbolt.org/z/fxsn6G">https://godbolt.org/z/fxsn6G</a>
It looks like there is no way to disable remark output if it decides that it is
enabled:
<a href="https://github.com/llvm/llvm-project/blob/f95a67d8b8a8cec326ee4a7e8427b779936d100a/llvm/lib/IR/LLVMContext.cpp#L243">https://github.com/llvm/llvm-project/blob/f95a67d8b8a8cec326ee4a7e8427b779936d100a/llvm/lib/IR/LLVMContext.cpp#L243</a>
Like here:
<a href="https://github.com/llvm/llvm-project/blob/466f8843f526b03c8944a46af5ebb374133b5389/llvm/lib/IR/DiagnosticInfo.cpp#L327">https://github.com/llvm/llvm-project/blob/466f8843f526b03c8944a46af5ebb374133b5389/llvm/lib/IR/DiagnosticInfo.cpp#L327</a>
Even --no-warn option doesn't help.</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>