Project

General

Profile

« Previous | Next » 

Revision 1efb3c31

Added by akr (Akira Tanaka) over 10 years ago

  • Avoid undefined behaviors found by gcc -fsanitize=undefined.
    gcc (Debian 4.9.1-16) 4.9.1

  • include/ruby/ruby.h (INT2FIX): Avoid undefined behavior.

  • node.h (nd_set_line): Ditto.

  • pack.c (encodes): Ditto.
    (pack_unpack): Ditto.

  • regint.h (BIT_STATUS_AT): Ditto.
    (BS_BIT): Ditto.

  • time.c (time_mdump): Ditto.
    (time_mload): Ditto.

  • vm_core.h (VM_FRAME_MAGIC_MASK): Ditto.

  • vm_trace.c (recalc_add_ruby_vm_event_flags): Ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e