about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2020-08-11 14:09:39 -0400
committerNathaniel McCallum <npmccallum@redhat.com>2020-08-11 15:02:03 -0400
commit050fb380aaa5f95ca27d6365cea06ea614c4cbf7 (patch)
tree7e441eb0b6a51c9d17cc1d028c44509a84348597 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent0356bb9fbba55f0a8fbe38731d41f57048f2e00b (diff)
downloadrust-050fb380aaa5f95ca27d6365cea06ea614c4cbf7.tar.gz
rust-050fb380aaa5f95ca27d6365cea06ea614c4cbf7.zip
Don't spill operands onto the stack in naked functions
Currently, the code spills operands onto the stack for the purpose of
debuginfo. However, naked functions can only contain an asm block. Therefore,
attempting to spill the operands on the stack is undefined behavior.

Fixes https://github.com/rust-lang/rust/issues/42779
cc https://github.com/rust-lang/rust/issues/32408
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions