This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C gcc-3.0 compiler crash


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]