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]

Re: CFG and libcall conflict for java


Jan Hubicka <jh@suse.cz> writes:

> Does Java standard require the trap to happen?

In the case of a Java division with int and long operands and a null
divisor, a ArithmeticException should be thrown:

  http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#5047

./A


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