public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/5852: BigInteger.gcd() returning wrong results
@ 2002-03-06  7:56 marc
  0 siblings, 0 replies; 2+ messages in thread
From: marc @ 2002-03-06  7:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         5852
>Category:       libgcj
>Synopsis:       BigInteger.gcd() returning wrong results
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 06 07:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     gcj / gcc version 2.96 20000731 (Red Hat Linux 7.0)
>Release:        2.96
>Organization:
>Environment:
Linux
>Description:
The gcd of 16983563041 and 260642 is wrongly computed
as 1. The right value is 130321.
>How-To-Repeat:
gcj --main=GcdBug GcdBug.java ; ./a.out
>Fix:
not available
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="GcdBug.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="GcdBug.java"

aW1wb3J0IGphdmEubWF0aC4qOwoKcHVibGljIGNsYXNzIEdjZEJ1ZyB7IAogIHB1YmxpYyBzdGF0
aWMgdm9pZCBtYWluKFN0cmluZyBbXSBhcmdzICkgewogICAgIEJpZ0ludGVnZXIgYSAgPSBuZXcg
QmlnSW50ZWdlciggIjE2OTgzNTYzMDQxIiApOwogICAgIEJpZ0ludGVnZXIgYiAgPSBuZXcgQmln
SW50ZWdlciggIjI2MDY0MiIgKTsKICAgICBCaWdJbnRlZ2VyIGMgPSBhLmdjZChiKTsgCiAgICAg
U3lzdGVtLm91dC5wcmludGxuKCJjID0gZ2NkKGEsYikgPSAiICsgYyArIiBzaG91bGQgYmUgIDEz
MDMyMSIpOyAKICAgICB9Cn0K


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libgcj/5852: BigInteger.gcd() returning wrong results
@ 2002-03-06 16:06 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2002-03-06 16:06 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, marc, nobody, tromey

Synopsis: BigInteger.gcd() returning wrong results

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Wed Mar  6 16:06:26 2002
Responsible-Changed-Why:
    I'm handling this.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Wed Mar  6 16:06:26 2002
State-Changed-Why:
    Thanks for your report.
    
    I tried your test case with gcj 3.1 -- the current CVS gcj.
    It worked perfectly.
    So, I think the bug has already been fixed.  The fix will
    appear in the next release (due out fairly soon; see the
    gcc web pages for details).
    
    I'm closing the PR.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5852


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-07  0:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-06  7:56 libgcj/5852: BigInteger.gcd() returning wrong results marc
2002-03-06 16:06 tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).