This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55606] New: sorry, unimplemented: non-trivial designated initializers not supported
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 06 Dec 2012 00:17:29 +0000
- Subject: [Bug c++/55606] New: sorry, unimplemented: non-trivial designated initializers not supported
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606
Bug #: 55606
Summary: sorry, unimplemented: non-trivial designated
initializers not supported
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
[hjl@gnu-6 build]$ cat x.c
struct foo {
char x[128];
unsigned* i;
};
struct foo x = {
i: 0
};
[hjl@gnu-6 build]$ gcc -S x.c
[hjl@gnu-6 build]$ g++ -S x.c
x.c:7:1: sorry, unimplemented: non-trivial designated initializers not
supported
[hjl@gnu-6 build]$