libjava Divide_1 and pr6388 fail on 4.2.0 RC3 for several targets

Tom Tromey tromey@redhat.com
Tue May 8 00:24:00 GMT 2007


>>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:

Ian> This is a bug in C++ code in libjava.

Thanks.  We enabled -fwrapv for the interpreter but, I think, thought
that perhaps the other C++ code was safe.
Would the new warning have caught this?

Ian> This patch appears to fix the problem.  I'm running the libjava tests
Ian> now.  Does this look OK to the java maintainers for 4.2 branch and
Ian> mainline?  Mark, should I commit to 4.2 branch?

Yes, this is fine.  Thanks.

Tom



More information about the Gcc-patches mailing list