diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 02:23:09 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-05 02:23:09 +0000 |
commit | 6f6a517635dff3c0c56aa8383acb28d6cf19120b (patch) | |
tree | 9f28c200cae9d0d85271d2fb163a1b1fdbaa6e8b /cont.c | |
parent | 9d708e0556c88e550b3ac10c6b2b9bfd88ba7f42 (diff) |
* 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/trunk@56561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -471,6 +471,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(); |