ruby-changes:45434
From: naruse <ko1@a...>
Date: Fri, 3 Feb 2017 02:07:34 +0900 (JST)
Subject: [ruby-changes:45434] naruse:r57507 (trunk): fix typo and argument of r57506
naruse 2017-02-03 02:07:28 +0900 (Fri, 03 Feb 2017) New Revision: 57507 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57507 Log: fix typo and argument of r57506 Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 57506) +++ configure.in (revision 57507) @@ -2498,9 +2498,9 @@ RUBY_CHECK_BUILTIN_FUNC(__builtin_clzl, https://github.com/ruby/ruby/blob/trunk/configure.in#L2498 RUBY_CHECK_BUILTIN_FUNC(__builtin_clzll, [__builtin_clzll(0)]) RUBY_CHECK_BUILTIN_FUNC(__builtin_ctz, [__builtin_ctz(0)]) RUBY_CHECK_BUILTIN_FUNC(__builtin_ctzll, [__builtin_ctzll(0)]) -RUBY_CHECK_BUILTIN_FUNC(__builtin_add_ovewflow, [__builtin_add_ovewflow(0)]) -RUBY_CHECK_BUILTIN_FUNC(__builtin_sub_ovewflow, [__builtin_sub_ovewflow(0)]) -RUBY_CHECK_BUILTIN_FUNC(__builtin_mul_ovewflow, [__builtin_mul_ovewflow(0)]) +RUBY_CHECK_BUILTIN_FUNC(__builtin_add_overflow, [int x;__builtin_add_overflow(0,0,&x)]) +RUBY_CHECK_BUILTIN_FUNC(__builtin_sub_overflow, [int x;__builtin_sub_overflow(0,0,&x)]) +RUBY_CHECK_BUILTIN_FUNC(__builtin_mul_overflow, [int x;__builtin_mul_overflow(0,0,&x)]) RUBY_CHECK_BUILTIN_FUNC(__builtin_constant_p, [__builtin_constant_p(0)]) RUBY_CHECK_BUILTIN_FUNC(__builtin_choose_expr, [ [int x[__extension__(__builtin_choose_expr(1, 1, -1))]]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/