<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - nir_opt_copy_prop_vars.c:454: error: unknown field ‘ssa’ specified in initializer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109810#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - nir_opt_copy_prop_vars.c:454: error: unknown field ‘ssa’ specified in initializer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109810">bug 109810</a>
              from <span class="vcard"><a class="email" href="mailto:caio.oliveira@intel.com" title="Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>"> <span class="fn">Caio Marcelo de Oliveira Filho</span></a>
</span></b>
        <pre>I suspect this is <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10676</a>. In our
struct we have a nested union that's unnamed. The tested GCC misses that
somehow.

struct value {
   bool is_ssa;
   union {
      struct {
         nir_ssa_def *def[NIR_MAX_VEC_COMPONENTS];
         uint8_t component[NIR_MAX_VEC_COMPONENTS];
      } ssa;
      nir_deref_instr *deref;
   };
};

The bug comments there suggests (1) adding extra set of braces around the .ssa
in the initializer. Other possible ways to fix are: (2) naming the union, or
(3) creating the temporary and then assigning to '*value' in the code. If we
have to do this, I think the more natural solution would be (3).

I don't have GCC 4.4 handy to test those three options though.</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>