ruby-changes:49722
From: shyouhei <ko1@a...>
Date: Mon, 15 Jan 2018 14:51:53 +0900 (JST)
Subject: [ruby-changes:49722] shyouhei:r61839 (trunk): also blacklist gcc 4.9 for __builtin_alloca_with_align
shyouhei 2018-01-15 14:51:46 +0900 (Mon, 15 Jan 2018) New Revision: 61839 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61839 Log: also blacklist gcc 4.9 for __builtin_alloca_with_align Reports show that gcc (Raspbian 4.9.2-10) 4.9.2 fails here. Modified files: trunk/include/ruby/ruby.h Index: include/ruby/ruby.h =================================================================== --- include/ruby/ruby.h (revision 61838) +++ include/ruby/ruby.h (revision 61839) @@ -1595,11 +1595,11 @@ rb_num2char_inline(VALUE x) https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L1595 #define ZALLOC(type) RB_ZALLOC(type) #define REALLOC_N(var,type,n) RB_REALLOC_N(var,type,n) -#if GCC_VERSION_BEFORE(4,8,6) -/* GCC 4.8.5 reportedly has this feature and is broken. +#if GCC_VERSION_BEFORE(4,9,5) +/* GCC 4.9.2 reportedly has this feature and is broken. * The function is not officially documented below. * Seems we should not use it. - * https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/Other-Builtins.html#Other-Builtins */ + * https://gcc.gnu.org/onlinedocs/gcc-4.9.4/gcc/Other-Builtins.html#Other-Builtins */ # undef HAVE_BUILTIN___BUILTIN_ALLOCA_WITH_ALIGN #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/