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

ruby-changes:42893

From: naruse <ko1@a...>
Date: Tue, 10 May 2016 12:40:10 +0900 (JST)
Subject: [ruby-changes:42893] naruse:r54967 (trunk): * configure.in (-fexcess-precision=standard): before r54895 -std=c99

naruse	2016-05-10 13:36:33 +0900 (Tue, 10 May 2016)

  New Revision: 54967

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

  Log:
    * configure.in (-fexcess-precision=standard): before r54895 -std=c99
      is specified and it implied -fexcess-precision=standard.
      Now with -std=gnu99, it should be explicitly specified.
      https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
Index: configure.in
===================================================================
--- configure.in	(revision 54966)
+++ configure.in	(revision 54967)
@@ -967,7 +967,7 @@ if test "$GCC" = yes; then https://github.com/ruby/ruby/blob/trunk/configure.in#L967
     ])
 
     # disable fast-math
-    for oflag in -fno-fast-math -fp-model\ precise; do
+    for oflag in -fno-fast-math -fexcess-precision=standard -fp-model\ precise; do
 	RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)])
     done
 fi
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54966)
+++ ChangeLog	(revision 54967)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue May 10 13:07:28 2016  NARUSE, Yui  <naruse@r...>
+
+	* configure.in (-fexcess-precision=standard): before r54895 -std=c99
+	  is specified and it implied -fexcess-precision=standard.
+	  Now with -std=gnu99, it should be explicitly specified.
+	  https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
+
 Mon May  9 10:51:59 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* thread.c (rb_thread_atfork_internal): move th to an argument.

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

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