diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-19 08:46:41 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-19 08:46:41 +0000 |
commit | 5bb48dc68ad35a78659d3075a9e3172785dcfbeb (patch) | |
tree | 14ed27ad4df0a37611d05b39f36cafce5bd3561e /COPYING | |
parent | 1b30f57c8fda3ad0a9b88cba5ab2a28fc17a3d90 (diff) |
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
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions