[ruby-cvs:72267] shyouhei:r65167 (trunk): compile.c: default_len is positive

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Fri Oct 19 17:46:42 JST 2018

shyouhei	2018-10-19 17:46:41 +0900 (Fri, 19 Oct 2018)

  New Revision: 65167


    compile.c: default_len is positive
    Recent GCC warns that default_len can be negative (thus can
    overflow PTRDIFF_MAX), which is a false assert.  Suppresses
    warnings by adding __builtin_unreachable.
    See also: https://travis-ci.org/ruby/ruby/jobs/443568193#L2227

  Modified files:

More information about the ruby-cvs mailing list