Re: Error Recovery

2011-04-27 Thread Ian Lance Taylor
Mohammad Masood Masaeli writes: > Hello, I'm studying the code of GCC to now how does it work and some > other purposes... > Can anyone tell me how does its error recovery work? > I think it is something near to Panic method, but I'm not sure and no > documents exis

Error Recovery

2011-04-27 Thread Mohammad Masood Masaeli
Hello, I'm studying the code of GCC to now how does it work and some other purposes... Can anyone tell me how does its error recovery work? I think it is something near to Panic method, but I'm not sure and no documents exist about it! Thank in advance... -- Free Software : Freedom to be Free...

Re: gcc bug question regarding error recovery

2008-02-01 Thread Ian Lance Taylor
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

gcc bug question regarding error recovery

2008-02-01 Thread Pjotr Kourzanov
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 e