about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2017-08-30 12:26:01 -0700
committerJosh Stone <jistone@redhat.com>2017-09-01 18:21:29 -0700
commitf7c97040242fc689106455a73c41477bf76ebdd4 (patch)
tree5868d9029cbf45e29b91d422145dbbd44e04ec3c
parentafcc58abd3e1d20f1aa2f4c848e5b4b979235035 (diff)
downloadrust-f7c97040242fc689106455a73c41477bf76ebdd4.tar.gz
rust-f7c97040242fc689106455a73c41477bf76ebdd4.zip
Exclude all windows-gnu from the float_one test
-rw-r--r--src/test/run-make/extern-fn-struct-passing-abi/test.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/run-make/extern-fn-struct-passing-abi/test.rs b/src/test/run-make/extern-fn-struct-passing-abi/test.rs
index 93cd6260e0c..54a4f868eb4 100644
--- a/src/test/run-make/extern-fn-struct-passing-abi/test.rs
+++ b/src/test/run-make/extern-fn-struct-passing-abi/test.rs
@@ -135,9 +135,10 @@ fn main() {
         assert_eq!(float_point(p), p);
         assert_eq!(int_odd(i), i);
 
-        // mingw64-gcc uses the wrong ABI:
-        // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028
-        #[cfg(not(all(windows, target_arch = "x86_64", target_env = "gnu")))]
+        // MSVC/GCC/Clang are not consistent in the ABI of single-float aggregates.
+        // x86_64: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028
+        // i686: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82041
+        #[cfg(not(all(windows, target_env = "gnu")))]
         assert_eq!(float_one(f1), f1);
     }
 }