about summary refs log tree commit diff
path: root/tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-07-26 01:15:08 -0500
committerGitHub <noreply@github.com>2025-07-26 01:15:08 -0500
commit6b1b68f4ee9314e4286f98d38f8b0f3cde3938c5 (patch)
tree50b4a0f24c353c3ecb7f4243da2bba49bfe0f37c /tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs
parent2671afeb9e54cf70673995a4801258e26f672db6 (diff)
parent910ee2d15a505070cbc80dcceaf74ba2b8a5b15a (diff)
downloadrust-6b1b68f4ee9314e4286f98d38f8b0f3cde3938c5.tar.gz
rust-6b1b68f4ee9314e4286f98d38f8b0f3cde3938c5.zip
Rollup merge of #144356 - GuillaumeGomez:gcc-ignore-tests, r=jieyouxu
Add `ignore-backends` annotations in failing GCC backend ui tests

Follow-up of https://github.com/rust-lang/rust/pull/144125.

In the GCC backend, we don't support all ui tests yet and we have a list of tests we currently ignore available [here](https://github.com/rust-lang/rustc_codegen_gcc/blob/master/tests/failing-ui-tests.txt).

This PR adds the `ignore-backends` annotations to the corresponding ui tests.

The second commit is a fix to compiletest, complaining about `ignore-backends`.

r? ```@jieyouxu```
Diffstat (limited to 'tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs')
-rw-r--r--tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs b/tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs
index b163c282d93..ad1d7b56c8c 100644
--- a/tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs
+++ b/tests/ui/codegen/equal-pointers-unequal/exposed-provenance/segfault.rs
@@ -1,6 +1,7 @@
 //@ known-bug: #107975
 //@ compile-flags: -Copt-level=2
 //@ run-pass
+//@ ignore-backends: gcc
 
 // https://github.com/rust-lang/rust/issues/107975#issuecomment-1431758601