http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51219
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE with designated |[4.6/4.7/4.8/4.9
|initializers |regression] ICE with empty
| |bit-fields
--- Comment #4 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
The designated initializer isn't the problem. The empty bit-field seems to be
the issue, as the following testcase shows (which crashes since GCC 4.4.0):
=======================
struct A
{
int i;
int : 8;
};
void foo()
{
A a = { 0 };
}
=======================