[ruby-cvs:69995] nagachika:r62863 (ruby_2_4): merge revision(s) 61471, 61472: [Backport #14231]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Tue Mar 20 22:52:07 JST 2018


nagachika	2018-03-20 22:52:06 +0900 (Tue, 20 Mar 2018)

  New Revision: 62863

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62863

  Log:
    merge revision(s) 61471,61472: [Backport #14231]
    
    Use UINT128_T support flag from configure
    
    Current check for __uint128_t in hash.c is not valid, since it ignores
    compilers other than gcc. We hit this on lcc on e2k platform.
    
    Configure script properly checks from 128-bit data types support and
    sets HAVE_UINT128_T accordingly. This approach is already used within
    ruby at bignum.c, random.c, etc.
    
    Probably hash.c is an overlooked remnant of old days. This patch fixes
    this.
    
    [ruby-core:84438] [Bug #14231] [Fix GH-1781]
    From: Andrew Savchenko <bircoph at altlinux.org>
    
    hash.c: use uint128_t
    
    * hash.c (mult_and_mix): use uint128_t instead of __uint128_t.
      [ruby-core:84438] [Bug #14231]
    
    From: Nobuyoshi Nakada <nobu at ruby-lang.org>

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/hash.c
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list