[Mesa-dev] [Bug 105052] compiler/test_eu_compact failure with GCC 8

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 24 22:59:02 UTC 2018


--- Comment #3 from Vinson Lee <vlee at freedesktop.org> ---
(In reply to Francisco Jerez from comment #2)
> Created attachment 137473 [details] [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.

attachment 137473 fixes the test_eu_compact failure with GCC 8.

Tested-by: Vinson Lee <vlee at freedesktop.org>

You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180224/a4bd27b3/attachment-0001.html>

More information about the mesa-dev mailing list