Skip to content
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

Add regression tests for issue 80309 #93649

Merged
merged 2 commits into from
Feb 6, 2022

Conversation

WaffleLapkin
Copy link
Member

Closes #80309 😝

I'm not sure where to put the tests, is ui/issues the right place for this kind of tests?

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Feb 4, 2022
@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 4, 2022
@rust-log-analyzer

This comment has been minimized.

@oli-obk
Copy link
Contributor

oli-obk commented Feb 4, 2022

Tidy is unhappy, maybe put it in a new folder like src/test/ui/ptr_ops

r? @oli-obk

@WaffleLapkin WaffleLapkin force-pushed the regression_test_80309 branch from 354cd68 to 8e99d92 Compare February 4, 2022 15:47
@oli-obk
Copy link
Contributor

oli-obk commented Feb 4, 2022

Uh oh. Looks like this is still happening... maybe CI has a different llvm? brb reading some diffs

@oli-obk
Copy link
Contributor

oli-obk commented Feb 4, 2022

I guess CI being x86_64-gnu-llvm-12 should've been a hint.

@rust-lang/wg-llvm should we wait until CI is bumped or can we ignore the tests on an old llvm somehow?

@nagisa
Copy link
Member

nagisa commented Feb 4, 2022

// min-llvm-version

@oli-obk oli-obk added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 4, 2022
@oli-obk
Copy link
Contributor

oli-obk commented Feb 4, 2022

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Feb 4, 2022

📌 Commit a3b1bc1 has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 4, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Feb 5, 2022
… r=oli-obk

Add regression tests for issue 80309

Closes rust-lang#80309 😝

I'm not sure where to put the tests, is `ui/issues` the right place for this kind of tests?
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 6, 2022
…askrgr

Rollup of 9 pull requests

Successful merges:

 - rust-lang#91939 (Clarify error on casting larger integers to char)
 - rust-lang#92300 (mips64-openwrt-linux-musl: Add Tier 3 target)
 - rust-lang#92383 (Add new target armv7-unknown-linux-uclibceabi (softfloat))
 - rust-lang#92651 (Remove "up here" arrow on item-infos)
 - rust-lang#93556 (Change struct expr pretty printing to match rustfmt style)
 - rust-lang#93649 (Add regression tests for issue 80309)
 - rust-lang#93657 (Update CPU idle tracking for apple hosts)
 - rust-lang#93659 (Refactor conditional)
 - rust-lang#93669 (Resolve lifetimes for const generic defaults)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 520bd35 into rust-lang:master Feb 6, 2022
@rustbot rustbot added this to the 1.60.0 milestone Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Miscompilation when using wrapping_sub/wrapping_add on pointer.
8 participants