Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for wrong code generation for HashSet creation on arm cpu
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
- Loading branch information