Skip to content

Commit f7c9704

Browse files
committed
Exclude all windows-gnu from the float_one test
1 parent afcc58a commit f7c9704

File tree

1 file changed

+4
-3
lines changed
  • src/test/run-make/extern-fn-struct-passing-abi

1 file changed

+4
-3
lines changed

src/test/run-make/extern-fn-struct-passing-abi/test.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,10 @@ fn main() {
135135
assert_eq!(float_point(p), p);
136136
assert_eq!(int_odd(i), i);
137137

138-
// mingw64-gcc uses the wrong ABI:
139-
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028
140-
#[cfg(not(all(windows, target_arch = "x86_64", target_env = "gnu")))]
138+
// MSVC/GCC/Clang are not consistent in the ABI of single-float aggregates.
139+
// x86_64: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028
140+
// i686: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82041
141+
#[cfg(not(all(windows, target_env = "gnu")))]
141142
assert_eq!(float_one(f1), f1);
142143
}
143144
}

0 commit comments

Comments
 (0)