diff options
| author | bors <bors@rust-lang.org> | 2016-06-07 14:45:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-06-07 14:45:39 -0700 |
| commit | ec872dc8a3f008299ca1508105ee064d1f0f0367 (patch) | |
| tree | a143dd587358cf577ae7465ce4d67e9505c02694 /src/libsyntax/errors | |
| parent | 39a523ba134c86df449bccd903313fc5e7b6f6c3 (diff) | |
| parent | e252865b744568649c3ecfcf8ac02bb6f73d7fc6 (diff) | |
| download | rust-ec872dc8a3f008299ca1508105ee064d1f0f0367.tar.gz rust-ec872dc8a3f008299ca1508105ee064d1f0f0367.zip | |
Auto merge of #34141 - eddyb:trans-abi-memcpy, r=nikomatsakis
trans: always use a memcpy for ABI argument/return casts. When storing incoming arguments or values returned by call/invoke, always do a `memcpy` from a temporary of the cast type, if there is an ABI cast. While Clang has gotten smarter ([store](https://godbolt.org/g/EphFuK) vs [memcpy](https://godbolt.org/g/5dikH9)), a `memcpy` will always work. This is what @dotdash has wanted to do all along, and it fixes #32049.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
