This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: C gcc-3.0 compiler crash
- To: Nicola Pero <n dot pero at mi dot flashnet dot it>
- Subject: Re: C gcc-3.0 compiler crash
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 7 Mar 2001 23:26:20 +0000
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <Pine.LNX.3.96.1010308021718.4313A-100000@leonardo>
Nicola Pero wrote:-
> Hi - while trying to build a testcase for some [obscure] Objective-C code
> I have which crashes gcc-3.0, I realized the whole thing does not seem
> particularly Objective-C specific, as the C compiler crashes as well.
I've seen what I think is the same error, but when allocating large local
arrays. Basically assign_stack_temp_for_type tries to allocate space
of size "an error has occurred" (I think the code is -1). I tried to
fix this, but couldn't figure out where the right place in the long chain
down from the parser was to catch the error and stop it propogating deeper
into the compiler. Just saying this in case anyone takes a look; it might
help :-)
Neil.