<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - compiler/test_eu_compact failure with GCC 8"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105052#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - compiler/test_eu_compact failure with GCC 8"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105052">bug 105052</a>
from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
<pre>(In reply to Francisco Jerez from <a href="show_bug.cgi?id=105052#c2">comment #2</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=137473" name="attach_137473" title="0001-intel-ir-Fix-invalid-type-aliasing-with-undefined-be.patch">attachment 137473</a> <a href="attachment.cgi?id=137473&action=edit" title="0001-intel-ir-Fix-invalid-type-aliasing-with-undefined-be.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=105052&attachment=137473'>[review]</a> [review]
> 0001-intel-ir-Fix-invalid-type-aliasing-with-undefined-be.patch
>
> Does it go away with the attached patch? I had it in a branch that was
> making some unrelated changes which just happened to affect the order
> instructions are emitted by GCC in the test_fuzz_compact_instruction()
> function, causing the bit twiddling to be done after the clear_pad_bits()
> call which modifies the same data through a pointer of different type,
> leading to undefined behavior. I had seen this happen on GCC 7.</span >
<span class=""><a href="attachment.cgi?id=137473" name="attach_137473" title="0001-intel-ir-Fix-invalid-type-aliasing-with-undefined-be.patch">attachment 137473</a> <a href="attachment.cgi?id=137473&action=edit" title="0001-intel-ir-Fix-invalid-type-aliasing-with-undefined-be.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=105052&attachment=137473'>[review]</a> fixes the test_eu_compact failure with GCC 8.
Tested-by: Vinson Lee <<a href="mailto:vlee@freedesktop.org">vlee@freedesktop.org</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>