]> git.lizzy.rs Git - rust.git/commitdiff
Exclude all windows-gnu from the float_one test
authorJosh Stone <jistone@redhat.com>
Wed, 30 Aug 2017 19:26:01 +0000 (12:26 -0700)
committerJosh Stone <jistone@redhat.com>
Sat, 2 Sep 2017 01:21:29 +0000 (18:21 -0700)
src/test/run-make/extern-fn-struct-passing-abi/test.rs

index 93cd6260e0c7b82498ce2acbac13393d129f2c7d..54a4f868eb4e53e06e3a68cb0fc1d3182e8c158d 100644 (file)
@@ -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);
     }
 }