This is the mail archive of the gcc@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: Putting C++ code into gcc front end


>>>>> "Lars" == Lars Segerlund <lars dot segerlund at comsys dot se> writes:

Lars> I still think this spels out the solution, rewrite the libgcj
Lars> checker in C, wrap in C++ use in libgcj, and the c part in the
Lars> frontend.

If it comes to this, it may be cheaper to just try to fix the bugs in
the gcj verifier and maintain the two versions in parallel.

For instance, the libgcj verifier assumes it can throw an exception
from just about anywhere to indicate a failure.  Porting this to C
would mean a major revamp of all the control throw (or the use of
longjmp, I suppose).

Tom


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