[Mesa-dev] [Bug 109810] nir_opt_copy_prop_vars.c:454: error: unknown field ‘ssa’ specified in initializer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 23 01:45:39 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109810

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 77aa11ca325112c8d1727f7bb7c2035500c72c1a
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Thu Mar 21 14:47:06 2019 -0700

    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
‘load_element_from_ssa_entry_value’:
    nir/nir_opt_copy_prop_vars.c:454: error: unknown field ‘ssa’ specified in
initializer
    nir/nir_opt_copy_prop_vars.c:455: error: unknown field ‘def’ specified in
initializer
    nir/nir_opt_copy_prop_vars.c:456: error: unknown field ‘component’
specified in initializer
    nir/nir_opt_copy_prop_vars.c:456: error: extra brace group at end of
initializer
    nir/nir_opt_copy_prop_vars.c:456: error: (near initialization for
‘(anonymous).<anonymous>’)
    nir/nir_opt_copy_prop_vars.c:456: warning: excess elements in union
initializer
    nir/nir_opt_copy_prop_vars.c:456: warning: (near initialization for
‘(anonymous).<anonymous>’)

    Fixes: 96c32d77763c ("nir/copy_prop_vars: handle load/store of vector
elements")
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109810
    Reviewed-by: Andres Gomez <agomez at igalia.com>
    Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira at intel.com>

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


More information about the mesa-dev mailing list