This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libjava test suite keeps getting stuck
On Thu, Apr 19, 2001 at 10:41:25PM -0700, Zack Weinberg wrote:
> __gxx_personality_v0 is another can of worms entirely. It looks to be
> referenced from all of the C++ source code. It's deeply involved with
> the new exception handling scheme. I do not know whether it's
> appropriate to keep using the C++ version or whether java should have
> its own.
Java does have its own -- __gcj_personality_v0.
The problem at the moment is that the c++ front end uses the existance
of a throw or a catch of a Java object to determine that we should be
emulating Java exception handling in this module. We really ought to
be using a pragma instead so that it is (1) affirmative and (2) works
with only cleanups present.
r~