<div dir="ltr">On Wed, Sep 11, 2013 at 6:10 AM, Matthew Curtis <span dir="ltr"><<a href="mailto:mcurtis@codeaurora.org" target="_blank">mcurtis@codeaurora.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm investigating an assert in clang compiling the following code:<br>
<br>
typedef union {<br>
struct {<br>
int zero;<br>
int one;<br>
int two;<br>
int three;<br>
} a;<br>
int b[4];<br>
} my_agg_t;<br>
<br>
my_agg_t agg_instance =<br>
{<br>
.b[0] = 0,<br>
.a.one = 1,<br>
.b[2] = 2,<br>
.a.three = 3,<br>
};<br>
<br>
I'm a little uncertain as to what this *should* do.<br><br></blockquote><div>This is also <a href="http://llvm.org/bugs/show_bug.cgi?id=16644">http://llvm.org/bugs/show_bug.cgi?id=16644</a> .<br><br></div><div>I would say we should either use gcc's interpretation or reject it.<br>
<br></div><div>-Eli <br></div></div></div></div>