diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2022-04-06 17:29:13 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2022-04-07 12:49:28 -0400 |
| commit | 16e08d53a0c78c149960b687c6ac735f21d5c405 (patch) | |
| tree | 85fb0838090b1d091c08a3d63e7d5e22b17ff763 /spec/ruby | |
| parent | 697eed63e81eff0e02226ceb6ab3bd2fd99000e3 (diff) | |
Fix strict aliasing issue
`rb_id_table_lookup()` writes to a `VALUE`, which is definitely a distinct
type from `st_table *`. With LTO, the compiler is allowed by N1256
ยง6.5p7 to remove the output parameter write via type-based alias
analysis.
See also: a0a8f2abf53
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5773
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
