[ruby-cvs:68611] naruse:r61429 (trunk): undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P on GCC 4.8

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Dec 24 01:17:57 JST 2017


naruse	2017-12-24 01:17:57 +0900 (Sun, 24 Dec 2017)

  New Revision: 61429

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

  Log:
    undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P on GCC 4.8
    
    GCC 4.8 with optimization causes error if it compiles following code.
    [Bug #14221]
    
    ```c
    __builtin_choose_expr(__builtin_constant_p(b),0,1)
    ```
    
    https://github.com/ruby/ruby/pull/1778

  Modified files:
    trunk/include/ruby/defines.h
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list