Pjotr Kourzanov <[EMAIL PROTECTED]> writes:
> int main() { const int size=10; struct foo {
> int array[size]; int* p; };// f = { .p=0 };
> struct foo f = { .p = 0 }; }
With gcc mainline, compiled with checking, I get an ICE:
/home/iant/foo1.c: In function
Dear gcc developers,
While trying a code snippet structured as the following code suggests I've
encountered a gcc error recovery bug. Namely, the gcc (versions 4.0-4.3, as well
as 3.2) starts leaking memory (after reporting that a variable-sized object can
not be initialized) and never exists.