public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/47910] New: typo in __go_map_next_prime
@ 2011-02-27  7:40 comexk at gmail dot com
  2011-03-09  5:32 ` [Bug go/47910] " ian at gcc dot gnu.org
  2011-03-09  5:33 ` ian at airs dot com
  0 siblings, 2 replies; 3+ messages in thread
From: comexk at gmail dot com @ 2011-02-27  7:40 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47910

           Summary: typo in __go_map_next_prime
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: comexk@gmail.com


On line 88 of libgo/runtime/go-new-map.c,

      mid = (low + high / 2);

should probably be

      mid = (low + high) / 2;


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

* [Bug go/47910] typo in __go_map_next_prime
  2011-02-27  7:40 [Bug go/47910] New: typo in __go_map_next_prime comexk at gmail dot com
@ 2011-03-09  5:32 ` ian at gcc dot gnu.org
  2011-03-09  5:33 ` ian at airs dot com
  1 sibling, 0 replies; 3+ messages in thread
From: ian at gcc dot gnu.org @ 2011-03-09  5:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47910

--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2011-03-09 05:32:40 UTC ---
Author: ian
Date: Wed Mar  9 05:32:36 2011
New Revision: 170808

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170808
Log:
    PR go/47910
Correct search for next prime in libgo map code.

Modified:
    trunk/libgo/runtime/go-new-map.c


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

* [Bug go/47910] typo in __go_map_next_prime
  2011-02-27  7:40 [Bug go/47910] New: typo in __go_map_next_prime comexk at gmail dot com
  2011-03-09  5:32 ` [Bug go/47910] " ian at gcc dot gnu.org
@ 2011-03-09  5:33 ` ian at airs dot com
  1 sibling, 0 replies; 3+ messages in thread
From: ian at airs dot com @ 2011-03-09  5:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47910

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-03-09 05:33:26 UTC ---
Fixed.  Thanks for noticing and reporting the problem.


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

end of thread, other threads:[~2011-03-09  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-27  7:40 [Bug go/47910] New: typo in __go_map_next_prime comexk at gmail dot com
2011-03-09  5:32 ` [Bug go/47910] " ian at gcc dot gnu.org
2011-03-09  5:33 ` ian at airs dot com

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).