This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: RFC: jc1, Windows and alloca built-in



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


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