about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src/asm.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-25 07:01:37 +0100
committerGitHub <noreply@github.com>2024-11-25 07:01:37 +0100
commitc5230d1148995a30ad5fd56aacffe3576fc0e95f (patch)
treefbc57ea3cfab87835428157a3a2fb331315f7e6e /compiler/rustc_codegen_gcc/src/asm.rs
parent28fc2ba7142654fa6e654926f96ff913027b200e (diff)
parent0178ba2c2547c3677b5624d684a392dccae12abc (diff)
downloadrust-c5230d1148995a30ad5fd56aacffe3576fc0e95f.tar.gz
rust-c5230d1148995a30ad5fd56aacffe3576fc0e95f.zip
Rollup merge of #131523 - nbdd0121:asm, r=compiler-errors
Fix asm goto with outputs and move it to a separate feature gate

Tracking issue: #119364

This PR addresses 3 aspects of asm goto with outputs:
* Codegen is fixed. My initial implementation has an oversight which cause the output to be only stored in fallthrough path, but not in label blocks.
* Outputs can now be used with `options(noreturn)` if a label block is given.
* All of this is moved to a new feature gate, because we likely want to stabilise `asm_goto` before asm goto with outputs.

`@rustbot` labels: +A-inline-assembly +F-asm
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/asm.rs')
0 files changed, 0 insertions, 0 deletions