[Bug go/47910] New: typo in __go_map_next_prime

comexk at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 27 07:40:00 GMT 2011


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;



More information about the Gcc-bugs mailing list