Commit 57f4c68
committed
runtime_common: always use memcpy in STORE_PTR
This is one of the many causes of unaligned load warnings in
-fsanitize=alignment. memcpy should always be OK: on architectures where
unaligned stores are OK, this will turn into a single move.
This was discussed back in 2024 at
#2349.1 parent f0aa4e8 commit 57f4c68
1 file changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
465 | 468 | | |
466 | 469 | | |
467 | 470 | | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | 471 | | |
475 | 472 | | |
476 | 473 | | |
| |||
0 commit comments