PATCH RFA: Avoid crash in Java compiler

Ian Lance Taylor ian@airs.com
Wed Mar 30 17:56:00 GMT 2005


Andrew Haley <aph@redhat.com> writes:

> Ian Lance Taylor writes:
>  > The crash occurs in maybe_yank_clinit in java/parse.y.  The code
>  > dereferences a NULL pointer.  This simple patch avoids the ICE.
>  > 
>  > I haven't tested this except on the original test case.  I don't know
>  > whether the patch is correct, in the sense that I don't know whether
>  > a NULL pointer here is hiding a different problem elsewhere.
>  > 
>  > Should I check this in?
> 
> Yes. okay.  However, we perhaps should unset CLASSPATH in our build
> machinery.

As you probably saw, I submitted that as a separate patch, it was
approved by Tom, and committed yesterday.

Ian



More information about the Gcc-patches mailing list