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. |
||
|---|---|---|
| .. | ||
| backward | ||
| internal | ||
| assert.h | ||
| backward.h | ||
| debug.h | ||
| defines.h | ||
| encoding.h | ||
| intern.h | ||
| io.h | ||
| missing.h | ||
| onigmo.h | ||
| oniguruma.h | ||
| random.h | ||
| re.h | ||
| regex.h | ||
| ruby.h | ||
| st.h | ||
| subst.h | ||
| thread.h | ||
| thread_native.h | ||
| util.h | ||
| version.h | ||
| vm.h | ||
| win32.h | ||