-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler Crashes when trying to create a label in inline assembler with macros. #53787
Comments
|
@levex could you add a test for this repro case? The only thing left to close this ticket is a repro test in the repo to avoid regressions. |
@estebank sure i'll take this. ETA this week. |
@estebank: If I RTFMed correctly, I think the test should be a |
@AB1908 almost, we're phasing |
So do I go ahead and create a regular test and then use `x.py`? Also, how was I supposed to find out about the phasing out of `compile-fail`? I wasn't exactly thorough when looking through the docs.
Thanks for the help.
|
Correct. That will compile the compiler, run the tests and update the
@AB1908 I think there hasn't been a hard policy announced, but that's the direction we're going in. https://rust-lang.github.io/rustc-guide/tests/adding.html#what-kind-of-test-should-i-add |
I think that should do it. |
…matsakis Add regression test to close rust-lang#53787 Fixes rust-lang#53787
Rollup of 11 pull requests Successful merges: - #57107 (Add a regression test for mutating a non-mut #[thread_local]) - #57132 (Document that `-C opt-level=0` implies `-C debug-assertions`.) - #57212 (docs(rustc): Link to the book's source in rustc) - #57302 (Fix unused_assignments false positive) - #57350 (Better error note on unimplemented Index trait for string) - #57635 (use structured macro and path resolve suggestions) - #57650 (librustc_metadata: Pass a default value when unwrapping a span) - #57657 (Add regression test to close #53787) - #57658 (Two HIR tweaks) - #57720 (Fix suggestions given mulitple bad lifetimes) - #57725 (Use structured suggestion to surround struct literal with parenthesis) Failed merges: r? @ghost
Compiler Crashes when trying to create a label in inline assembler with macros. I am not sure if my could would work, but I am pretty sure it should not crash the compiler.
I tried this code: https://pastebin.com/pxCPeQnt
https://pastebin.com/WK4ydW8i
This does not crash, it seems it is somehow relating to the input formatting
I expected to see this happen: Generate a code sample with the given id
Instead, this happened: Compiler crashes
rustc --version --verbose:
rustc 1.30.0-nightly (73c7873 2018-08-05)
binary: rustc
commit-hash: 73c7873
commit-date: 2018-08-05
host: x86_64-pc-windows-msvc
release: 1.30.0-nightly
LLVM version: 7.0
Backtrace:
https://hastebin.com/xeyokeriqo.rb or https://pastebin.com/gDAvd4wQ
(Github keeps messing with the windows formatting)
The text was updated successfully, but these errors were encountered: