<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:koraq@xs4all.nl" title="Mark de Wever <koraq@xs4all.nl>"> <span class="fn">Mark de Wever</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - No warning on casting between pointer and non-pointer-sized int"
href="https://bugs.llvm.org/show_bug.cgi?id=8718">bug 8718</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>unassignedclangbugs@nondot.org
</td>
<td>koraq@xs4all.nl
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - No warning on casting between pointer and non-pointer-sized int"
href="https://bugs.llvm.org/show_bug.cgi?id=8718#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - No warning on casting between pointer and non-pointer-sized int"
href="https://bugs.llvm.org/show_bug.cgi?id=8718">bug 8718</a>
from <span class="vcard"><a class="email" href="mailto:koraq@xs4all.nl" title="Mark de Wever <koraq@xs4all.nl>"> <span class="fn">Mark de Wever</span></a>
</span></b>
<pre>(In reply to Arnd Bergmann from <a href="show_bug.cgi?id=8718#c5">comment #5</a>)
<span class="quote">> I still don't see a warning with yesterday's
> 10.0.0-+20191205031116+3d43c73f26f-1~exp1~20191205021716.2649 build from
> apt.llvm.org:
>
> $ echo "static char a; int main(void) { switch ((int)&a) {} return
> (int)&a;}" | clang-10 -xc -c - -o /dev/null -Wall -Weverything
> # empty output
>
> Is there something you did differently?</span >
Yes it seems I tested with a C++ file, which is not the case for the Linux
kernel. Testing your issue as a C file isn't fixed. Timothy's original C issue
is fixed.</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>