http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 
2012-11-07 22:25:29 UTC ---
I would expect that the designated initializer would be .a="aaaa" and not
a:"aaaa" (as specified by C99), but I agree that even with that change the
revised code gives the same error:

struct S { char a[25]; };

int main() {
   struct S s = {.a="aaaa"};
   (void)s;
   return 0;
}

Reply via email to