ruby-changes:60852
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Tue, 21 Apr 2020 16:31:50 +0900 (JST)
Subject: [ruby-changes:60852] c63b5c6179 (master): rb_memerror: abort immediately
https://git.ruby-lang.org/ruby.git/commit/?id=c63b5c6179 From c63b5c6179d700ceacf5cae8d3ee86da1294c781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Tue, 21 Apr 2020 16:29:52 +0900 Subject: rb_memerror: abort immediately Ditto for adab82b9a71f60ad1c7f4f8c134a5ae9198ab32a. TRY_WITH_GC was found innocent. diff --git a/gc.c b/gc.c index 84e4b8a..67c3556 100644 --- a/gc.c +++ b/gc.c @@ -9642,6 +9642,9 @@ rb_memerror(void) https://github.com/ruby/ruby/blob/trunk/gc.c#L9642 exc = ruby_vm_special_exception_copy(exc); } ec->errinfo = exc; +#ifdef __INTEL_COMPILER + __builtin_trap(); /* Yes, icc has it.*/ +#endif EC_JUMP_TAG(ec, TAG_RAISE); } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/