Skip to content

Commit 3d7db3f

Browse files
Ignore more failing ui tests in GCC backend
1 parent fbc6841 commit 3d7db3f

11 files changed

+11
-0
lines changed

tests/ui/abi/homogenous-floats-target-feature-mixup.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
//@ run-pass
88
//@ needs-subprocess
9+
//@ ignore-backends: gcc
910

1011
#![allow(overflowing_literals)]
1112
#![allow(unused_variables)]

tests/ui/abi/segfault-no-out-of-stack.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//@ needs-subprocess
33
//@ compile-flags: -Zub-checks=no -Zmir-enable-passes=-CheckNull
44
//@ ignore-fuchsia must translate zircon signal to SIGSEGV/SIGBUS, FIXME (#58590)
5+
//@ ignore-backends: gcc
56

67
#![feature(rustc_private)]
78

tests/ui/process/process-panic-after-fork.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
//@ ignore-fuchsia no fork
66
//@ ignore-tvos fork is prohibited
77
//@ ignore-watchos fork is prohibited
8+
//@ ignore-backends: gcc
89

910
#![feature(rustc_private)]
1011
#![feature(never_type)]

tests/ui/sanitizer/address.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//@ run-fail-or-crash
88
//@ error-pattern: AddressSanitizer: stack-buffer-overflow
99
//@ error-pattern: 'xs' (line 14) <== Memory access at offset
10+
//@ ignore-backends: gcc
1011

1112
use std::hint::black_box;
1213

tests/ui/sanitizer/dataflow.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
//@ needs-sanitizer-dataflow
66
//@ run-pass
77
//@ compile-flags: -Zsanitizer=dataflow -Zsanitizer-dataflow-abilist={{src-base}}/sanitizer/dataflow-abilist.txt -C unsafe-allow-abi-mismatch=sanitizer
8+
//@ ignore-backends: gcc
89

910
use std::mem::size_of;
1011
use std::os::raw::{c_int, c_long, c_void};

tests/ui/sanitizer/memory-eager.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
//@ error-pattern: MemorySanitizer: use-of-uninitialized-value
1313
//@ [optimized]error-pattern: Uninitialized value was created by an allocation
1414
//@ [optimized]error-pattern: in the stack frame
15+
//@ ignore-backends: gcc
1516
//
1617
// FIXME the unoptimized case actually has that text in the output too, per
1718
// <https://github.com/rust-lang/rust/pull/138759#issuecomment-3037186707>

tests/ui/sanitizer/memory.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
//@ error-pattern: MemorySanitizer: use-of-uninitialized-value
1313
//@ error-pattern: Uninitialized value was created by an allocation
1414
//@ error-pattern: in the stack frame
15+
//@ ignore-backends: gcc
1516
//
1617
// This test case intentionally limits the usage of the std,
1718
// since it will be linked with an uninstrumented version of it.

tests/ui/sanitizer/new-llvm-pass-manager-thin-lto.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
//@[opt1]compile-flags: -Copt-level=1
1616
//@ run-fail-or-crash
1717
//@ error-pattern: ERROR: AddressSanitizer: stack-use-after-scope
18+
//@ ignore-backends: gcc
1819

1920
static mut P: *mut usize = std::ptr::null_mut();
2021

tests/ui/sanitizer/thread.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
//@ error-pattern: WARNING: ThreadSanitizer: data race
2020
//@ error-pattern: Location is heap block of size 4
2121
//@ error-pattern: allocated by main thread
22+
//@ ignore-backends: gcc
2223

2324
#![feature(rustc_private)]
2425
extern crate libc;

tests/ui/sanitizer/use-after-scope.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
//@ compile-flags: -Zsanitizer=address -C unsafe-allow-abi-mismatch=sanitizer
66
//@ run-fail-or-crash
77
//@ error-pattern: ERROR: AddressSanitizer: stack-use-after-scope
8+
//@ ignore-backends: gcc
89

910
static mut P: *mut usize = std::ptr::null_mut();
1011

0 commit comments

Comments
 (0)