Skip to content

Commit 1d23da6

Browse files
committed
Auto merge of #146779 - GuillaumeGomez:gcc-ignore-test_ui_abi, r=Kobzol,jieyouxu
Ignore tests in `tests/ui/abi` for the GCC backend Needed for #146414. Currently we ignore them in the GCC backend and until this situation changes, it'll block #146414. r? `@Kobzol`
2 parents dfa2223 + fd7f8b2 commit 1d23da6

File tree

11 files changed

+14
-0
lines changed

11 files changed

+14
-0
lines changed

tests/ui/abi/abi-sysv64-arg-passing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
//@ ignore-arm
2929
//@ ignore-aarch64
3030
//@ ignore-windows
31+
//@ ignore-backends: gcc
3132

3233
// Windows is ignored because bootstrap doesn't yet know to compile rust_test_helpers with
3334
// the sysv64 ABI on Windows.

tests/ui/abi/abi-sysv64-register-usage.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//@ ignore-arm
77
//@ ignore-aarch64
88
//@ needs-asm-support
9+
//@ ignore-backends: gcc
910

1011
#[cfg(target_arch = "x86_64")]
1112
pub extern "sysv64" fn all_the_registers(

tests/ui/abi/issue-28676.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//@ run-pass
2+
//@ ignore-backends: gcc
3+
24
#![allow(dead_code)]
35
#![allow(improper_ctypes)]
46

tests/ui/abi/large-byval-align.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ compile-flags: -Copt-level=0
22
//@ only-x86_64
33
//@ build-pass
4+
//@ ignore-backends: gcc
45

56
#[repr(align(536870912))]
67
pub struct A(i64);

tests/ui/abi/numbers-arithmetic/float-struct.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//@ run-pass
2+
//@ ignore-backends: gcc
23

34
use std::fmt::Debug;
45
use std::hint::black_box;

tests/ui/abi/stack-probes-lto.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
//@ ignore-tvos Stack probes are enabled, but the SIGSEGV handler isn't
1414
//@ ignore-watchos Stack probes are enabled, but the SIGSEGV handler isn't
1515
//@ ignore-visionos Stack probes are enabled, but the SIGSEGV handler isn't
16+
//@ ignore-backends: gcc
1617

1718
include!("stack-probes.rs");

tests/ui/abi/stack-probes.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
//@ ignore-tvos Stack probes are enabled, but the SIGSEGV handler isn't
1111
//@ ignore-watchos Stack probes are enabled, but the SIGSEGV handler isn't
1212
//@ ignore-visionos Stack probes are enabled, but the SIGSEGV handler isn't
13+
//@ ignore-backends: gcc
1314

1415
use std::env;
1516
use std::mem::MaybeUninit;

tests/ui/abi/stack-protector.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
//@ [ssp] compile-flags: -Z stack-protector=all
55
//@ compile-flags: -C opt-level=2
66
//@ compile-flags: -g
7+
//@ ignore-backends: gcc
78

89
use std::env;
910
use std::process::{Command, ExitStatus};

tests/ui/abi/struct-enums/struct-return.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//@ run-pass
2+
//@ ignore-backends: gcc
3+
24
#![allow(dead_code)]
35

46
#[repr(C)]

tests/ui/abi/variadic-ffi.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//@ run-pass
2+
//@ ignore-backends: gcc
3+
24
#![feature(c_variadic)]
35

46
use std::ffi::VaList;

0 commit comments

Comments
 (0)