diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-11 15:48:29 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-11 15:48:29 +0000 |
commit | bb681c49a97078c4be2b65c0280b3dd94f78d1df (patch) | |
tree | 84329d4fe1150099dc3b1cbc273a7647937d6373 /cont.c | |
parent | c5ee9b38687b66833081cb58f042b21c586a0142 (diff) |
merge revision(s) 56561: [Backport #12893]
* cont.c (cont_new): disable optimization if clang's version is
3.8.0. [ruby-core:77894] [Bug #12893]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@56717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -476,6 +476,10 @@ cont_new(VALUE klass) static VALUE cont_capture(volatile int *stat) +#if defined(__clang__) && \ + __clang_major__ == 3 && __clang_minor__ == 8 && __clang_patch__ == 0 +__attribute__ ((optnone)) +#endif { rb_context_t *cont; rb_thread_t *th = GET_THREAD(); |