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 test for wrong code generation for HashSet creation on arm cpu #44096

Merged
merged 1 commit into from
Aug 27, 2017

Conversation

Dushistov
Copy link
Contributor

This is test for #42918.
To reproduce bug you need machine with arm cpu and compile with optimization.
I tried with rustc 1.19.0-nightly (3d5b8c6 2017-06-09),
if compile test with -C opt-level=3 for target=arm-linux-androideabi
and run on "Qualcomm MSM 8974 arm cpu" then assert fails,
if compile and run with -C opt-level=2 it gives segmentation fault.
So I add compile-flags: -O.
With rustc 1.19.0 (0ade339 2017-07-17) all works fine.
Closes #42918

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @aturon (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

This is test for rust-lang#42918.
To reproduce bug you need machine with arm cpu and compile with optimization.
I tried with rustc 1.19.0-nightly (3d5b8c6 2017-06-09),
if compile test with -C opt-level=3 for target=arm-linux-androideabi
and run on "Qualcomm MSM 8974 arm cpu" then assert fails,
if compile and run with -C opt-level=2 it gives segmentation fault.
So I add `compile-flags: -O`.
With rustc 1.19.0 (0ade339 2017-07-17) all works fine.
Closes rust-lang#42918
@japaric
Copy link
Member

japaric commented Aug 26, 2017

Yay, more tests! Thanks, @Dushistov.

@bors r+

@bors
Copy link
Contributor

bors commented Aug 26, 2017

📌 Commit 911a15d has been approved by japaric

@bors
Copy link
Contributor

bors commented Aug 26, 2017

⌛ Testing commit 911a15d with merge ff33b60...

bors added a commit that referenced this pull request Aug 26, 2017
Add test for wrong code generation for HashSet creation on arm cpu

This is test for #42918.
To reproduce bug you need machine with arm cpu and compile with optimization.
I tried with rustc 1.19.0-nightly (3d5b8c6 2017-06-09),
if compile test with -C opt-level=3 for target=arm-linux-androideabi
and run on "Qualcomm MSM 8974 arm cpu" then assert fails,
if compile and run with -C opt-level=2 it gives segmentation fault.
So I add `compile-flags: -O`.
With rustc 1.19.0 (0ade339 2017-07-17) all works fine.
Closes #42918
@bors
Copy link
Contributor

bors commented Aug 27, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing ff33b60 to master...

@bors bors merged commit 911a15d into rust-lang:master Aug 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants