1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/internal
卜部昌平 33dc0a070a RBASIC_SET_CLASS_RAW: follow strict aliasing rule
Instead of rather euphemistic struct cast, just reomve the const
qualifier and assign directly.  According to ISO/IEC 9899:2018 section
6.5 paragraph 7, `VALUE` and `const VALUE` are allowed to alias (but two
distinct structs are not, even when their structures are the same).
[Bug #17540]
2021-03-02 17:47:28 +09:00
..
array.h Define rb_to_array which converts with to_a 2021-02-12 12:15:57 +09:00
bignum.h Move rb_big_isqrt declaration 2021-01-31 09:23:51 +09:00
bits.h
class.h Add RCLASS_SUBCLASSES Macro 2021-02-01 08:42:54 -08:00
compar.h
compile.h
compilers.h Update compilers.h [ci skip] 2021-01-05 01:06:07 +09:00
complex.h
cont.h Expose scheduler as public interface & bug fixes. (#3945) 2021-02-09 19:39:56 +13:00
dir.h
enc.h
encoding.h
enum.h
enumerator.h
error.h Switch rb_category_warn{,ing} to accept an rb_warning_category_t 2020-12-18 09:54:11 -08:00
eval.h
file.h
fixnum.h
gc.h
hash.h
imemo.h enable constant cache on ractors 2021-01-05 02:27:58 +09:00
inits.h
io.h
load.h
loadpath.h
math.h
missing.h
numeric.h Allow inlining Integer#-@ and #~ 2020-12-22 22:32:19 -08:00
object.h RBASIC_SET_CLASS_RAW: follow strict aliasing rule 2021-03-02 17:47:28 +09:00
parse.h
proc.h
process.h
random.h
range.h
rational.h
re.h
sanitizers.h
serial.h
signal.h
static_assert.h
string.h
struct.h
symbol.h
thread.h
time.h
transcode.h
util.h
variable.h
vm.h Revert "[Bug #11213] let defined?(super) call respond_to_missing?" 2021-01-13 18:11:46 +09:00
warnings.h