1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby/3
卜部昌平 3e92785fd6 RUBY3_ASSUME: suppress warnings on icc
icc warns side effects for RUBY3_ASSUME like this:

> ./include/ruby/3/value_type.h(202): warning #2261: __assume expression with side effects discarded
>           RUBY3_ASSUME(RB_FLONUM_P(obj));
>                        ^

Which is a false positive (RB_FLONUM_P has no side effect).  It seems
there is no way for us to tell icc that a functin is safe inside of
__assume.   Just suppress the warning instead.
2020-04-10 16:17:30 +09:00
..
arithmetic reduce duplicate include. 2020-04-10 14:53:25 +09:00
attr reduce duplicate include. 2020-04-10 14:53:25 +09:00
compiler_is
core reduce duplicate include. 2020-04-10 14:53:25 +09:00
has RUBY3_HAS_BUILTIN: fix __builtin_unreachable 2020-04-10 16:17:30 +09:00
intern
anyargs.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
arithmetic.h
assume.h RUBY3_ASSUME: suppress warnings on icc 2020-04-10 16:17:30 +09:00
cast.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
compiler_is.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
compiler_since.h
config.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
constant_p.h
core.h
ctype.h
dllexport.h
dosish.h
error.h
eval.h
event.h
fl_type.h
gc.h
glob.h
globals.h
interpreter.h
iterator.h
memory.h include/ruby/3: Skip RUBY3_UNREACHABLE_RETURN for icc 2020-04-09 08:19:00 +09:00
method.h
module.h
newobj.h
rgengc.h
scan_args.h
special_consts.h
static_assert.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
stdalign.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
stdbool.h
symbol.h
token_paste.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
value.h
value_type.h
variable.h
warning_push.h reduce duplicate include. 2020-04-10 14:53:25 +09:00
xmalloc.h