* vm_eval.c (check_funcall): try respond_to? first if redefined.
[Bug #5158]
* test/ruby/test_object.rb: tests that respond_to? returns false.
* vm_eval.c (check_funcall): set array elements one-by-one to fix
compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc.
merge revision(s) r32855,r32857,r33493,r34554:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e