1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-
normal 3ce9a14040 ruby.h: relax rb_funcall check on extra args for clang
clang 5.+ (tested clang 7.0.0) seems to be attempting division-by-zero
and giving a very large number for static args to rb_funcall.

* include/ruby/ruby.h (rb_varargs_bad_length): relax check for clang
* ext/-test-/funcall/funcall.c: renamed from passing_block.c
  define extra_args_name function
* test/-ext-/funcall/test_funcall.rb: new test
  [ruby-core:85266] [Bug #14425]

From: Eric Wong <e@80x24.org>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-30 23:55:49 +00:00
..
array/resize
ast node.c: Stop double meaning of NODE_FOR by introducing NODE_FOR_MASGN 2018-01-16 07:24:53 +00:00
bignum ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
bug-3571
bug-5832
bug_reporter
class
debug
dln/empty
exception ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
fatal
file ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
float
funcall ruby.h: relax rb_funcall check on extra args for clang 2018-01-30 23:55:49 +00:00
gvl/call_without_gvl
hash
integer ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
iseq_load
iter
load load.c: fix rb_load_protect condition 2017-09-24 05:22:23 +00:00
marshal
memory_status long long is a C99ism 2018-01-02 06:41:47 +00:00
method
notimplement
num2int
path_to_class
popen_deadlock
postponed_job
printf sprintf.c: NULL as str 2017-09-09 09:16:59 +00:00
proc
rational ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
recursion
regexp
scan_args ruby.h: fix rb_scan_args_trail_idx 2017-08-19 23:39:03 +00:00
st
string internal.h: remove dependecy on ruby/encoding.h 2018-01-09 06:24:11 +00:00
struct fix ext/-test-/struct/ dependencies 2017-04-15 07:13:05 +00:00
symbol
thread_fd_close thread.c: avoid busy looping on rb_thread_fd_close 2017-06-07 00:32:02 +00:00
time Init functions should have prefix to avoid confliction. 2017-12-03 08:02:56 +00:00
tracepoint
typeddata test for [Bug #12670] 2017-06-19 14:36:17 +00:00
vm
wait_for_single_fd ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
win32 test_console_attr.rb: fix test 2018-01-15 12:25:24 +00:00
auto_ext.rb