about summary refs log tree commit diff
path: root/src/rt/rust_stack.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2013-07-23 09:37:00 +0200
committerDaniel Micay <danielmicay@gmail.com>2013-07-24 09:45:21 -0400
commit7fbe8002d515b8f8730fc6502a767719854af3d8 (patch)
tree22be28438b500669b8af2c2adbbe8a73da481d08 /src/rt/rust_stack.cpp
parent254339fd3974417999147ac6c4f23c80e7ad8ab4 (diff)
downloadrust-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