Add regression test for asm register exhaustion crash#152523
Add regression test for asm register exhaustion crash#152523yashhzd wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @nnethercote rustbot has assigned @nnethercote. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
|
Out of curiosity, the PR description is from LLM? |
This comment has been minimized.
This comment has been minimized.
|
Hey, I'm a student getting into open source for GSoC prep and was going through E-easy labeled issues. Picked this one since it seemed straightforward - a regression test for a fixed crash. I should've set up a local cross-compilation toolchain before submitting though, the CI failures are on me. I can fix the .stderr file if you'd like, or happy to close this if it's not worth the review effort. Let me know either way. |
|
yes, update the stderr just dont use llm to generate the pr description next time |
|
Thanks for the explanation. There's been a huge uptick of low-quality PR submissions using LLMs lately, so we are having to be much more on guard about such things. The "Test Details" section of the PR description in particular is very LLM-y, extraneous information that just recapitulates the code changes. The original test in #90815 would avoid the "argument never used" warnings, I think. Also I like the variable names |
|
@rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
This comment has been minimized.
This comment has been minimized.
|
Updated — switched to the original reproducer code from #90815 ( Will add the Cleaned up the PR description too, sorry about the verbosity. |
5eea8cf to
d8b6ce3
Compare
This comment has been minimized.
This comment has been minimized.
36e249b to
51e689e
Compare
|
Added the |
This comment has been minimized.
This comment has been minimized.
Adapt the original reproducer to minicore test infrastructure: use r0..r15 variable names with mov instructions that reference all operands to avoid unused-argument errors in the check phase.
51ebf0d to
dc53180
Compare
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Regression test for #90815 — requesting more registers than available in inline assembly should produce a clean error, not a SIGSEGV.
Uses the original reproducer code adapted to minicore test infrastructure.
Closes #90815