diff options
| author | Björn Steinbrink <bsteinbr@gmail.com> | 2013-07-23 09:37:00 +0200 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-07-24 09:45:21 -0400 |
| commit | 7fbe8002d515b8f8730fc6502a767719854af3d8 (patch) | |
| tree | 22be28438b500669b8af2c2adbbe8a73da481d08 /src/rt/rust_stack.cpp | |
| parent | 254339fd3974417999147ac6c4f23c80e7ad8ab4 (diff) | |
| download | rust-7fbe8002d515b8f8730fc6502a767719854af3d8.tar.gz rust-7fbe8002d515b8f8730fc6502a767719854af3d8.zip | |
Fix a crash when transmuting non-immediate to immediate types
The code to build the transmute intrinsic currently makes the invalid assumption that if the in-type is non-immediate, the out-type is non-immediate as well. But this is wrong, for example when transmuting [int, ..1] to int. So we need to handle this fourth case as well. Fixes #7988
Diffstat (limited to 'src/rt/rust_stack.cpp')
0 files changed, 0 insertions, 0 deletions
