mesa/src
Francisco Jerez cb309d27c5 intel/ir: Fix invalid type aliasing with undefined behavior in test_eu_compact.
test_fuzz_compact_instruction() was attempting to modify the uint64_t
data array of a brw_inst through a pointer to uint32_t, which has
undefined behavior.  This was causing the test_eu_compact unit test to
fail mysteriously for me on GCC 7 with some additional
harmless-looking changes I had applied to my tree, which happened to
affect the order instructions are emitted by GCC causing the bit
twiddling to be done after the clear_pad_bits() call which is supposed
to overwrite the same data through a pointer of different type,
leading to data corruption.  A similar failure has been reported by
Vinson Lee on the master branch built with GCC 8.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105052
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
2018-02-27 11:42:39 -08:00
..
amd ac/nir: clean up a hack about rounding 2nd coord component 2018-02-27 10:09:27 +01:00
broadcom broadcom/vc5: Fix "hardwrae" typo in a field name in XML. 2018-02-05 13:53:38 +00:00
compiler util/bitset: Make C++ wrapper trivially constructible. 2018-02-27 11:38:18 -08:00
egl *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
gallium nvc0: collapse output slots to have adjacent registers 2018-02-27 00:10:39 -05:00
gbm *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
getopt
glx loader_dri3/glx/egl: Reinstate the loader_dri3_vtable get_dri_screen callback 2018-02-20 10:36:53 +01:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel/ir: Fix invalid type aliasing with undefined behavior in test_eu_compact. 2018-02-27 11:42:39 -08:00
loader x11/dri3: Store raw present completion mode 2018-02-21 21:57:38 +00:00
mapi *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
mesa i965: Use gen_get_pci_device_id_override 2018-02-27 11:15:10 -08:00
util util/bitset: Make C++ wrapper trivially constructible. 2018-02-27 11:38:18 -08:00
vulkan android: vulkan/util: add dependency on libnativewindow for O and later 2018-02-26 14:50:24 +02:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: fix building without GL 2018-02-26 09:32:14 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00