mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Ignore more failing ui tests in GCC backend
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
//@ run-pass
|
||||
//@ needs-subprocess
|
||||
//@ ignore-backends: gcc
|
||||
|
||||
#![allow(overflowing_literals)]
|
||||
#![allow(unused_variables)]
|
||||
|
||||
@@ -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)]
|
||||
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user