Ignore more failing ui tests in GCC backend

This commit is contained in:
Guillaume Gomez 2025-10-02 14:11:26 +02:00
parent 5b9ca10c75
commit 97eaf45e31
11 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,7 @@
//@ run-pass
//@ needs-subprocess
//@ ignore-backends: gcc
#![allow(overflowing_literals)]
#![allow(unused_variables)]

View file

@ -2,6 +2,7 @@
//@ needs-subprocess
//@ compile-flags: -Zub-checks=no -Zmir-enable-passes=-CheckNull
//@ ignore-fuchsia must translate zircon signal to SIGSEGV/SIGBUS, FIXME (#58590)
//@ ignore-backends: gcc
#![feature(rustc_private)]

View file

@ -5,6 +5,7 @@
//@ ignore-fuchsia no fork
//@ ignore-tvos fork is prohibited
//@ ignore-watchos fork is prohibited
//@ ignore-backends: gcc
#![feature(rustc_private)]
#![feature(never_type)]

View file

@ -7,6 +7,7 @@
//@ run-fail-or-crash
//@ error-pattern: AddressSanitizer: stack-buffer-overflow
//@ error-pattern: 'xs' (line 14) <== Memory access at offset
//@ ignore-backends: gcc
use std::hint::black_box;

View file

@ -5,6 +5,7 @@
//@ needs-sanitizer-dataflow
//@ run-pass
//@ compile-flags: -Zsanitizer=dataflow -Zsanitizer-dataflow-abilist={{src-base}}/sanitizer/dataflow-abilist.txt -C unsafe-allow-abi-mismatch=sanitizer
//@ ignore-backends: gcc
use std::mem::size_of;
use std::os::raw::{c_int, c_long, c_void};

View file

@ -12,6 +12,7 @@
//@ error-pattern: MemorySanitizer: use-of-uninitialized-value
//@ [optimized]error-pattern: Uninitialized value was created by an allocation
//@ [optimized]error-pattern: in the stack frame
//@ ignore-backends: gcc
//
// FIXME the unoptimized case actually has that text in the output too, per
// <https://github.com/rust-lang/rust/pull/138759#issuecomment-3037186707>

View file

@ -12,6 +12,7 @@
//@ error-pattern: MemorySanitizer: use-of-uninitialized-value
//@ error-pattern: Uninitialized value was created by an allocation
//@ error-pattern: in the stack frame
//@ ignore-backends: gcc
//
// This test case intentionally limits the usage of the std,
// since it will be linked with an uninstrumented version of it.

View file

@ -15,6 +15,7 @@
//@[opt1]compile-flags: -Copt-level=1
//@ run-fail-or-crash
//@ error-pattern: ERROR: AddressSanitizer: stack-use-after-scope
//@ ignore-backends: gcc
static mut P: *mut usize = std::ptr::null_mut();

View file

@ -19,6 +19,7 @@
//@ error-pattern: WARNING: ThreadSanitizer: data race
//@ error-pattern: Location is heap block of size 4
//@ error-pattern: allocated by main thread
//@ ignore-backends: gcc
#![feature(rustc_private)]
extern crate libc;

View file

@ -5,6 +5,7 @@
//@ compile-flags: -Zsanitizer=address -C unsafe-allow-abi-mismatch=sanitizer
//@ run-fail-or-crash
//@ error-pattern: ERROR: AddressSanitizer: stack-use-after-scope
//@ ignore-backends: gcc
static mut P: *mut usize = std::ptr::null_mut();

View file

@ -5,6 +5,7 @@
//@ needs-subprocess
//@ ignore-fuchsia must translate zircon signal to SIGILL, FIXME (#58590)
//@ ignore-backends: gcc
#![feature(repr_simd, target_feature, cfg_target_feature)]