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: [PATCH/RFC] Enable java on sh64-linux (Take 2)


>>>>> ">" == Kaz Kojima <kkojima@rr.iij4u.or.jp> writes:

Andrew> This points to a bad divide overflow handler.

Kaz> I'd like to see the divide overflow handler.

The usual solution to this problem is to turn on
-fuse-divide-subroutine in configure.host for your platform.  See,
e.g., libjava/prims.cc:_Jv_divI() for what is supposed to happen.
Divide_1 just tests all these cases.

Tom


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