[前][次][番号順一覧][スレッド一覧]

ruby-changes:44644

From: nagachika <ko1@a...>
Date: Sat, 12 Nov 2016 00:48:34 +0900 (JST)
Subject: [ruby-changes:44644] nagachika:r56717 (ruby_2_3): merge revision(s) 56561: [Backport #12893]

nagachika	2016-11-12 00:48:29 +0900 (Sat, 12 Nov 2016)

  New Revision: 56717

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56717

  Log:
    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]

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/cont.c
    branches/ruby_2_3/version.h
Index: ruby_2_3/cont.c
===================================================================
--- ruby_2_3/cont.c	(revision 56716)
+++ ruby_2_3/cont.c	(revision 56717)
@@ -476,6 +476,10 @@ cont_new(VALUE klass) https://github.com/ruby/ruby/blob/trunk/ruby_2_3/cont.c#L476
 
 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();
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 56716)
+++ ruby_2_3/version.h	(revision 56717)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.2"
 #define RUBY_RELEASE_DATE "2016-11-12"
-#define RUBY_PATCHLEVEL 207
+#define RUBY_PATCHLEVEL 208
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 11
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 56716)
+++ ruby_2_3/ChangeLog	(revision 56717)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Sat Nov 12 00:46:50 2016  Shugo Maeda  <shugo@r...>
+
+	* cont.c (cont_new): disable optimization if clang's version is
+	  3.8.0.  [ruby-core:77894] [Bug #12893]
+
 Sat Nov 12 00:27:24 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* compile.c (iseq_peephole_optimize): enable tail call

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r56561


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]