diff options
author | Vinson Lee <[email protected]> | 2017-01-08 09:02:38 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-01-09 23:25:32 -0800 |
commit | 01d80bed1f639ed98f09107206ebe36899d3c852 (patch) | |
tree | d28657205c9366d7f20e5062f8cf1aa891970219 /src/intel/Makefile.sources | |
parent | 17eac30e9025d044c06db3a7ac75b574716a9a09 (diff) |
nir: Fix anonymous union initialization with older GCC.
Fix this build error with GCC 4.4.7.
CC nir/nir_opt_copy_prop_vars.lo
nir/nir_opt_copy_prop_vars.c: In function ‘copy_prop_vars_block’:
nir/nir_opt_copy_prop_vars.c:765: error: unknown field ‘deref’ specified in initializer
nir/nir_opt_copy_prop_vars.c:765: warning: missing braces around initializer
nir/nir_opt_copy_prop_vars.c:765: warning: (near initialization for ‘(anonymous).<anonymous>’)
nir/nir_opt_copy_prop_vars.c:765: warning: initialization from incompatible pointer type
Fixes: 62332d139c8f ("nir: Add a local variable-based copy propagation pass")
Signed-off-by: Vinson Lee <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/Makefile.sources')
0 files changed, 0 insertions, 0 deletions