[ruby-cvs:68699] ngoto:r61518 (trunk): bit fields treating negative values should be declared as signed int

ngoto at ruby-lang.org ngoto at ruby-lang.org
Sun Dec 31 01:38:22 JST 2017


ngoto	2017-12-31 01:38:22 +0900 (Sun, 31 Dec 2017)

  New Revision: 61518

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

  Log:
    bit fields treating negative values should be declared as signed int
    
    * internal.h (struct vm_ifunc_argc): Bit fields are unsigned by default.
      For storing nagative values to bit fields, they must be declated as
      signed int. Fix multiple test failure observed by 32-bit binaries
      compiled with Oracle Developer Studio (Solaris Studio) 12.x on
      Solaris 10 on sparc architecture. [Bug #14260]

  Modified files:
    trunk/internal.h


More information about the ruby-cvs mailing list