mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() It is reported that on a system of i386 System V ABI, GCC returns 8 for __alignof__(double). OTOH the ABI defines alignments of double to be 4, and ISO/IEC 9899:2011 reads that _Alignof(double) shall return 4 on such machine. What we want in ruby is 4 instead of 8 there. We cannot use __alignof__. Additionally, both old GCC / old clang return 8 for _Alignof(double) on such platforms. They are their bugs, and already fixed in recent versions. But we have to support older compilers for a while. Shall check sanity of _Alignof. |
||
---|---|---|
.. | ||
arithmetic | ||
attr | ||
compiler_is | ||
core | ||
has | ||
intern | ||
anyargs.h | ||
arithmetic.h | ||
assume.h | ||
cast.h | ||
compiler_is.h | ||
compiler_since.h | ||
config.h | ||
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 | ||
method.h | ||
module.h | ||
newobj.h | ||
rgengc.h | ||
scan_args.h | ||
special_consts.h | ||
static_assert.h | ||
stdalign.h | ||
stdbool.h | ||
symbol.h | ||
token_paste.h | ||
value.h | ||
value_type.h | ||
variable.h | ||
warning_push.h | ||
xmalloc.h |