RFC: jc1, Windows and alloca built-in

Adam Megacz patches@lists.megacz.com
Sun Feb 3 12:12:00 GMT 2002


Anthony Green <green@redhat.com> writes:
> Adam recently reported a failure with jc1 on Windows (stack trace below).   
> I've appended a work-around patch below, but I don't understand it.
> Perhaps it is completely wrong.  In any case, jc1 was failing because
> TREE_TYPE() of the built-in alloca results in NULL.  My patch simply protects
> us from doing anything silly with that NULL.  Is it correct?

Additional note: I can't say if it's correct or not, but I have
confirmed that the patched jc1 no longer segfaults, and can
successfully compile all the java code in libgcj.

  - a



More information about the Gcc-patches mailing list