From 5ff7ca2e228277b4970429ba34ed2885111f280f Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 2 Oct 2025 22:20:28 +0200 Subject: [PATCH] Ignore failing incremental tests for GCC backend --- .../incremental/add_private_fn_at_krate_root_cc/struct_point.rs | 1 + tests/incremental/async-lifetimes.rs | 1 + tests/incremental/callee_caller_cross_crate/b.rs | 1 + tests/incremental/change_add_field/struct_point.rs | 1 + tests/incremental/change_crate_dep_kind.rs | 1 + tests/incremental/change_crate_order/main.rs | 1 + tests/incremental/change_implementation_cross_crate/main.rs | 1 + tests/incremental/change_name_of_static_in_fn.rs | 1 + tests/incremental/change_private_fn/struct_point.rs | 1 + tests/incremental/change_private_fn_cc/struct_point.rs | 1 + tests/incremental/change_private_impl_method/struct_point.rs | 1 + tests/incremental/change_private_impl_method_cc/struct_point.rs | 1 + .../incremental/change_pub_inherent_method_body/struct_point.rs | 1 + tests/incremental/change_pub_inherent_method_sig/struct_point.rs | 1 + tests/incremental/change_symbol_export_status.rs | 1 + tests/incremental/commandline-args.rs | 1 + tests/incremental/const-generics/change-const-param-gat.rs | 1 + tests/incremental/const-generics/change-const-param-type.rs | 1 + tests/incremental/crate_hash_reorder.rs | 1 + tests/incremental/decl_macro.rs | 1 + tests/incremental/dirty_clean.rs | 1 + tests/incremental/env/env_macro.rs | 1 + tests/incremental/env/option_env_macro.rs | 1 + tests/incremental/extern_static/issue-49153.rs | 1 + tests/incremental/hash-module-order.rs | 1 + tests/incremental/hashes/call_expressions.rs | 1 + tests/incremental/hashes/closure_expressions.rs | 1 + tests/incremental/hashes/consts.rs | 1 + tests/incremental/hashes/enum_constructors.rs | 1 + tests/incremental/hashes/enum_defs.rs | 1 + tests/incremental/hashes/exported_vs_not.rs | 1 + tests/incremental/hashes/extern_mods.rs | 1 + tests/incremental/hashes/for_loops.rs | 1 + tests/incremental/hashes/function_interfaces.rs | 1 + tests/incremental/hashes/if_expressions.rs | 1 + tests/incremental/hashes/indexing_expressions.rs | 1 + tests/incremental/hashes/inherent_impls.rs | 1 + tests/incremental/hashes/inline_asm.rs | 1 + tests/incremental/hashes/let_expressions.rs | 1 + tests/incremental/hashes/loop_expressions.rs | 1 + tests/incremental/hashes/match_expressions.rs | 1 + tests/incremental/hashes/panic_exprs.rs | 1 + tests/incremental/hashes/statics.rs | 1 + tests/incremental/hashes/struct_constructors.rs | 1 + tests/incremental/hashes/struct_defs.rs | 1 + tests/incremental/hashes/trait_defs.rs | 1 + tests/incremental/hashes/trait_impls.rs | 1 + tests/incremental/hashes/type_defs.rs | 1 + tests/incremental/hashes/unary_and_binary_exprs.rs | 1 + tests/incremental/hashes/while_let_loops.rs | 1 + tests/incremental/hashes/while_loops.rs | 1 + tests/incremental/hello_world.rs | 1 + tests/incremental/hygiene/load_cached_hygiene.rs | 1 + tests/incremental/ich_method_call_trait_scope.rs | 1 + tests/incremental/ich_nested_items.rs | 1 + tests/incremental/ich_resolve_results.rs | 1 + tests/incremental/incremental_proc_macro.rs | 1 + tests/incremental/inlined_hir_34991/main.rs | 1 + tests/incremental/issue-100521-change-struct-name-assocty.rs | 1 + tests/incremental/issue-108481-feed-eval-always.rs | 1 + tests/incremental/issue-110457-same-span-closures/main.rs | 1 + tests/incremental/issue-35593.rs | 1 + tests/incremental/issue-38222.rs | 1 + tests/incremental/issue-39569.rs | 1 + tests/incremental/issue-39828/issue-39828.rs | 1 + tests/incremental/issue-42602.rs | 1 + tests/incremental/issue-49595/issue-49595.rs | 1 + tests/incremental/issue-59523-on-implemented-is-not-unused.rs | 1 + .../issue-59524-layout-scalar-valid-range-is-not-unused.rs | 1 + tests/incremental/issue-60629.rs | 1 + tests/incremental/issue-61530.rs | 1 + tests/incremental/issue-62649-path-collisions-happen.rs | 1 + tests/incremental/issue-69596.rs | 1 + tests/incremental/issue-72386.rs | 1 + tests/incremental/issue-79661-missing-def-path-hash.rs | 1 + tests/incremental/issue-79890-imported-crates-changed.rs | 1 + tests/incremental/issue-80336-invalid-span.rs | 1 + tests/incremental/issue-80691-bad-eval-cache.rs | 1 + tests/incremental/issue-82920-predicate-order-miscompile.rs | 1 + tests/incremental/issue-85197-invalid-span/invalid_span_main.rs | 1 + tests/incremental/issue-85360-eval-obligation-ice.rs | 1 + .../issue-92163-missing-sourcefile/issue_92163_main.rs | 1 + tests/incremental/issue-92987-provisional-dep-node.rs | 1 + tests/incremental/issue-96319-coinductive-cycle.rs | 1 + tests/incremental/krate-inherent.rs | 1 + tests/incremental/krate-inlined.rs | 1 + tests/incremental/krate_reassign_34991/main.rs | 1 + tests/incremental/link_order/main.rs | 1 + tests/incremental/lto.rs | 1 + tests/incremental/macro_export.rs | 1 + tests/incremental/mir-opt.rs | 1 + tests/incremental/remapped_paths_cc/main.rs | 1 + tests/incremental/remove-private-item-cross-crate/main.rs | 1 + tests/incremental/remove_crate/main.rs | 1 + tests/incremental/reorder_vtable.rs | 1 + tests/incremental/rlib_cross_crate/b.rs | 1 + tests/incremental/rustc-rust-log.rs | 1 + tests/incremental/slice-pattern-const-ice-83085.rs | 1 + tests/incremental/source_loc_macros.rs | 1 + tests/incremental/span_hash_stable/main.rs | 1 + tests/incremental/spans_in_type_debuginfo.rs | 1 + tests/incremental/spans_significant_w_debuginfo.rs | 1 + tests/incremental/spans_significant_w_panic.rs | 1 + tests/incremental/spike.rs | 1 + tests/incremental/split_debuginfo_cached.rs | 1 + tests/incremental/static_cycle/b.rs | 1 + tests/incremental/static_refering_to_other_static/issue-49081.rs | 1 + tests/incremental/static_refering_to_other_static2/issue.rs | 1 + tests/incremental/static_refering_to_other_static3/issue.rs | 1 + tests/incremental/static_stable_hash/issue-49301.rs | 1 + tests/incremental/struct_add_field.rs | 1 + tests/incremental/struct_change_field_type.rs | 1 + tests/incremental/struct_change_field_type_cross_crate/b.rs | 1 + tests/incremental/struct_change_nothing.rs | 1 + tests/incremental/struct_remove_field.rs | 1 + tests/incremental/thinlto/cgu_invalidated_via_import.rs | 1 + tests/incremental/thinlto/cgu_invalidated_when_export_added.rs | 1 + tests/incremental/thinlto/cgu_invalidated_when_export_removed.rs | 1 + tests/incremental/thinlto/cgu_invalidated_when_import_added.rs | 1 + tests/incremental/thinlto/cgu_invalidated_when_import_removed.rs | 1 + tests/incremental/thinlto/cgu_keeps_identical_fn.rs | 1 + .../thinlto/independent_cgus_dont_affect_each_other.rs | 1 + tests/incremental/type_alias_cross_crate/b.rs | 1 + tests/incremental/unchecked_dirty_clean.rs | 1 + tests/incremental/unrecoverable_query.rs | 1 + .../user-written-closure-synthetic-closure-conflict.rs | 1 + tests/incremental/warnings-reemitted.rs | 1 + 127 files changed, 127 insertions(+) diff --git a/tests/incremental/add_private_fn_at_krate_root_cc/struct_point.rs b/tests/incremental/add_private_fn_at_krate_root_cc/struct_point.rs index 65d363b35a67..0367af8d53b8 100644 --- a/tests/incremental/add_private_fn_at_krate_root_cc/struct_point.rs +++ b/tests/incremental/add_private_fn_at_krate_root_cc/struct_point.rs @@ -6,6 +6,7 @@ //@ compile-flags: -Z query-dep-graph //@ aux-build:point.rs //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![feature(stmt_expr_attributes)] diff --git a/tests/incremental/async-lifetimes.rs b/tests/incremental/async-lifetimes.rs index 8d55e7293df8..f12f99519387 100644 --- a/tests/incremental/async-lifetimes.rs +++ b/tests/incremental/async-lifetimes.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 //@ edition:2021 +//@ ignore-backends: gcc // See https://github.com/rust-lang/rust/issues/98890 diff --git a/tests/incremental/callee_caller_cross_crate/b.rs b/tests/incremental/callee_caller_cross_crate/b.rs index b9012ecf7f77..78f3d8b3958f 100644 --- a/tests/incremental/callee_caller_cross_crate/b.rs +++ b/tests/incremental/callee_caller_cross_crate/b.rs @@ -1,6 +1,7 @@ //@ aux-build:a.rs //@ revisions:rpass1 rpass2 //@ compile-flags:-Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/change_add_field/struct_point.rs b/tests/incremental/change_add_field/struct_point.rs index 8ff992771fdc..fb363c9ce496 100644 --- a/tests/incremental/change_add_field/struct_point.rs +++ b/tests/incremental/change_add_field/struct_point.rs @@ -6,6 +6,7 @@ //@ revisions:cfail1 cfail2 //@ compile-flags: -Z query-dep-graph //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![feature(stmt_expr_attributes)] diff --git a/tests/incremental/change_crate_dep_kind.rs b/tests/incremental/change_crate_dep_kind.rs index abca8de47198..4fd0c345aad2 100644 --- a/tests/incremental/change_crate_dep_kind.rs +++ b/tests/incremental/change_crate_dep_kind.rs @@ -6,6 +6,7 @@ //@ compile-flags: -Z query-dep-graph -Cpanic=unwind //@ needs-unwind //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![feature(panic_unwind)] diff --git a/tests/incremental/change_crate_order/main.rs b/tests/incremental/change_crate_order/main.rs index 23f1782578e9..38a2541a76b5 100644 --- a/tests/incremental/change_crate_order/main.rs +++ b/tests/incremental/change_crate_order/main.rs @@ -1,6 +1,7 @@ //@ aux-build:a.rs //@ aux-build:b.rs //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/change_implementation_cross_crate/main.rs b/tests/incremental/change_implementation_cross_crate/main.rs index 9919b0d01cb6..5c3b0815115c 100644 --- a/tests/incremental/change_implementation_cross_crate/main.rs +++ b/tests/incremental/change_implementation_cross_crate/main.rs @@ -4,6 +4,7 @@ //@ revisions: rpass1 rpass2 //@ aux-build: a.rs //@ compile-flags: -Zquery-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![crate_type = "bin"] diff --git a/tests/incremental/change_name_of_static_in_fn.rs b/tests/incremental/change_name_of_static_in_fn.rs index 808194501866..c6160efed7b9 100644 --- a/tests/incremental/change_name_of_static_in_fn.rs +++ b/tests/incremental/change_name_of_static_in_fn.rs @@ -1,4 +1,5 @@ //@ revisions:rpass1 rpass2 rpass3 +//@ ignore-backends: gcc // See issue #57692. diff --git a/tests/incremental/change_private_fn/struct_point.rs b/tests/incremental/change_private_fn/struct_point.rs index a4c0a8db4098..cce26fa7a3e6 100644 --- a/tests/incremental/change_private_fn/struct_point.rs +++ b/tests/incremental/change_private_fn/struct_point.rs @@ -4,6 +4,7 @@ //@ revisions:cfail1 cfail2 //@ compile-flags: -Z query-dep-graph //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![feature(stmt_expr_attributes)] diff --git a/tests/incremental/change_private_fn_cc/struct_point.rs b/tests/incremental/change_private_fn_cc/struct_point.rs index 6262e32a807d..87392ca857ed 100644 --- a/tests/incremental/change_private_fn_cc/struct_point.rs +++ b/tests/incremental/change_private_fn_cc/struct_point.rs @@ -5,6 +5,7 @@ //@ compile-flags: -Z query-dep-graph //@ aux-build:point.rs //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![crate_type = "rlib"] #![feature(rustc_attrs)] diff --git a/tests/incremental/change_private_impl_method/struct_point.rs b/tests/incremental/change_private_impl_method/struct_point.rs index 953d58101510..dc0ba82c0a31 100644 --- a/tests/incremental/change_private_impl_method/struct_point.rs +++ b/tests/incremental/change_private_impl_method/struct_point.rs @@ -4,6 +4,7 @@ //@ revisions:cfail1 cfail2 //@ compile-flags: -Z query-dep-graph //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![feature(stmt_expr_attributes)] diff --git a/tests/incremental/change_private_impl_method_cc/struct_point.rs b/tests/incremental/change_private_impl_method_cc/struct_point.rs index 42cc41da4c8b..eb51af720949 100644 --- a/tests/incremental/change_private_impl_method_cc/struct_point.rs +++ b/tests/incremental/change_private_impl_method_cc/struct_point.rs @@ -5,6 +5,7 @@ //@ compile-flags: -Z query-dep-graph //@ aux-build:point.rs //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![crate_type = "rlib"] #![feature(rustc_attrs)] diff --git a/tests/incremental/change_pub_inherent_method_body/struct_point.rs b/tests/incremental/change_pub_inherent_method_body/struct_point.rs index e112b25df5c5..b8e06d070a3c 100644 --- a/tests/incremental/change_pub_inherent_method_body/struct_point.rs +++ b/tests/incremental/change_pub_inherent_method_body/struct_point.rs @@ -3,6 +3,7 @@ //@ revisions:cfail1 cfail2 //@ compile-flags: -Z query-dep-graph //@ build-pass +//@ ignore-backends: gcc #![crate_type = "rlib"] #![feature(rustc_attrs)] diff --git a/tests/incremental/change_pub_inherent_method_sig/struct_point.rs b/tests/incremental/change_pub_inherent_method_sig/struct_point.rs index d67011f1e88c..3672ec268010 100644 --- a/tests/incremental/change_pub_inherent_method_sig/struct_point.rs +++ b/tests/incremental/change_pub_inherent_method_sig/struct_point.rs @@ -3,6 +3,7 @@ //@ revisions:cfail1 cfail2 //@ compile-flags: -Z query-dep-graph //@ build-pass +//@ ignore-backends: gcc #![crate_type = "rlib"] #![feature(rustc_attrs)] diff --git a/tests/incremental/change_symbol_export_status.rs b/tests/incremental/change_symbol_export_status.rs index 5fc6afa74119..37f8b9b52e5f 100644 --- a/tests/incremental/change_symbol_export_status.rs +++ b/tests/incremental/change_symbol_export_status.rs @@ -2,6 +2,7 @@ //@ compile-flags: -Zquery-dep-graph //@ [rpass1]compile-flags: -Zincremental-ignore-spans //@ [rpass2]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![rustc_partition_reused(module = "change_symbol_export_status-mod1", cfg = "rpass2")] diff --git a/tests/incremental/commandline-args.rs b/tests/incremental/commandline-args.rs index f7aabe1e6d00..eb7c8b6daf05 100644 --- a/tests/incremental/commandline-args.rs +++ b/tests/incremental/commandline-args.rs @@ -18,6 +18,7 @@ //@[rpass2] compile-flags: -C debuginfo=2 //@[rpass3] compile-flags: -C debuginfo=2 --diagnostic-width=80 //@[rpass4] compile-flags: -C debuginfo=2 --diagnostic-width=80 --remap-path-prefix=/home/bors/r=src +//@ ignore-backends: gcc pub fn main() { // empty diff --git a/tests/incremental/const-generics/change-const-param-gat.rs b/tests/incremental/const-generics/change-const-param-gat.rs index 9fdac0142935..0aa628f4bd6b 100644 --- a/tests/incremental/const-generics/change-const-param-gat.rs +++ b/tests/incremental/const-generics/change-const-param-gat.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 rpass3 //@ compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![feature(generic_associated_types)] // This test unsures that with_opt_const_param returns the diff --git a/tests/incremental/const-generics/change-const-param-type.rs b/tests/incremental/const-generics/change-const-param-type.rs index 989ad56990db..2dc1194f5128 100644 --- a/tests/incremental/const-generics/change-const-param-type.rs +++ b/tests/incremental/const-generics/change-const-param-type.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 rpass3 //@ compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc enum Foo { Variant, diff --git a/tests/incremental/crate_hash_reorder.rs b/tests/incremental/crate_hash_reorder.rs index bd26d604a825..07b38014ff85 100644 --- a/tests/incremental/crate_hash_reorder.rs +++ b/tests/incremental/crate_hash_reorder.rs @@ -2,6 +2,7 @@ //@ revisions:rpass1 rpass2 rpass3 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/decl_macro.rs b/tests/incremental/decl_macro.rs index 74810ae42274..3ddf86a068f4 100644 --- a/tests/incremental/decl_macro.rs +++ b/tests/incremental/decl_macro.rs @@ -1,4 +1,5 @@ //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc // issue#112680 diff --git a/tests/incremental/dirty_clean.rs b/tests/incremental/dirty_clean.rs index 24aedb011c6b..1188b46fa0ad 100644 --- a/tests/incremental/dirty_clean.rs +++ b/tests/incremental/dirty_clean.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 cfail2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/env/env_macro.rs b/tests/incremental/env/env_macro.rs index 0c026328874d..8d6bd2416b1f 100644 --- a/tests/incremental/env/env_macro.rs +++ b/tests/incremental/env/env_macro.rs @@ -10,6 +10,7 @@ //@ [rpass3]rustc-env:EXAMPLE_ENV=two //@ [rpass3]exec-env:EXAMPLE_ENV=two //@ [cfail4]unset-rustc-env:EXAMPLE_ENV +//@ ignore-backends: gcc fn main() { assert_eq!(env!("EXAMPLE_ENV"), std::env::var("EXAMPLE_ENV").unwrap()); diff --git a/tests/incremental/env/option_env_macro.rs b/tests/incremental/env/option_env_macro.rs index 44c3bfd69e05..3b9110a5f4e0 100644 --- a/tests/incremental/env/option_env_macro.rs +++ b/tests/incremental/env/option_env_macro.rs @@ -12,6 +12,7 @@ //@ [rpass3]exec-env:EXAMPLE_ENV=two //@ [rpass4]unset-rustc-env:EXAMPLE_ENV //@ [rpass4]unset-exec-env:EXAMPLE_ENV +//@ ignore-backends: gcc fn main() { assert_eq!(option_env!("EXAMPLE_ENV"), std::env::var("EXAMPLE_ENV").ok().as_deref()); diff --git a/tests/incremental/extern_static/issue-49153.rs b/tests/incremental/extern_static/issue-49153.rs index 72340173b5ca..386c175be523 100644 --- a/tests/incremental/extern_static/issue-49153.rs +++ b/tests/incremental/extern_static/issue-49153.rs @@ -1,6 +1,7 @@ // https://github.com/rust-lang/rust/issues/49153 //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc extern "C" { pub static __ImageBase: u8; diff --git a/tests/incremental/hash-module-order.rs b/tests/incremental/hash-module-order.rs index c29e1e5b64c9..5261965e8f3f 100644 --- a/tests/incremental/hash-module-order.rs +++ b/tests/incremental/hash-module-order.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 //@ compile-flags: -Z incremental-ignore-spans -Z query-dep-graph +//@ ignore-backends: gcc // Tests that module hashing depends on the order of the items // (since the order is exposed through `Mod.item_ids`). diff --git a/tests/incremental/hashes/call_expressions.rs b/tests/incremental/hashes/call_expressions.rs index 71423ef6aff6..d58bf0416c6f 100644 --- a/tests/incremental/hashes/call_expressions.rs +++ b/tests/incremental/hashes/call_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] diff --git a/tests/incremental/hashes/closure_expressions.rs b/tests/incremental/hashes/closure_expressions.rs index e548e0b6ddc3..3cda661834f5 100644 --- a/tests/incremental/hashes/closure_expressions.rs +++ b/tests/incremental/hashes/closure_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/consts.rs b/tests/incremental/hashes/consts.rs index bd5cc89caa86..b60dce16c37e 100644 --- a/tests/incremental/hashes/consts.rs +++ b/tests/incremental/hashes/consts.rs @@ -8,6 +8,7 @@ //@ build-pass (FIXME(62277): could be check-pass?) //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph -O +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/enum_constructors.rs b/tests/incremental/hashes/enum_constructors.rs index d839dabf293a..dee485681e44 100644 --- a/tests/incremental/hashes/enum_constructors.rs +++ b/tests/incremental/hashes/enum_constructors.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/enum_defs.rs b/tests/incremental/hashes/enum_defs.rs index bc1a2a31e97a..1f12c020116e 100644 --- a/tests/incremental/hashes/enum_defs.rs +++ b/tests/incremental/hashes/enum_defs.rs @@ -16,6 +16,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/exported_vs_not.rs b/tests/incremental/hashes/exported_vs_not.rs index 1bd7756c1c6e..9ac86f39bd1a 100644 --- a/tests/incremental/hashes/exported_vs_not.rs +++ b/tests/incremental/hashes/exported_vs_not.rs @@ -4,6 +4,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/extern_mods.rs b/tests/incremental/hashes/extern_mods.rs index c26fc90dd01e..0bda42fac8b8 100644 --- a/tests/incremental/hashes/extern_mods.rs +++ b/tests/incremental/hashes/extern_mods.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/for_loops.rs b/tests/incremental/hashes/for_loops.rs index b827ad9cc6f8..24717e0faaf5 100644 --- a/tests/incremental/hashes/for_loops.rs +++ b/tests/incremental/hashes/for_loops.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/function_interfaces.rs b/tests/incremental/hashes/function_interfaces.rs index 016a1813babd..e58ee1a6d4e4 100644 --- a/tests/incremental/hashes/function_interfaces.rs +++ b/tests/incremental/hashes/function_interfaces.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(linkage)] diff --git a/tests/incremental/hashes/if_expressions.rs b/tests/incremental/hashes/if_expressions.rs index a21625c4f4ed..6a241692977f 100644 --- a/tests/incremental/hashes/if_expressions.rs +++ b/tests/incremental/hashes/if_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/indexing_expressions.rs b/tests/incremental/hashes/indexing_expressions.rs index 1b90483c50c3..bfc64c904039 100644 --- a/tests/incremental/hashes/indexing_expressions.rs +++ b/tests/incremental/hashes/indexing_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/inherent_impls.rs b/tests/incremental/hashes/inherent_impls.rs index 044c3d2b86c1..66d6c2b7246c 100644 --- a/tests/incremental/hashes/inherent_impls.rs +++ b/tests/incremental/hashes/inherent_impls.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] diff --git a/tests/incremental/hashes/inline_asm.rs b/tests/incremental/hashes/inline_asm.rs index 105ca7611356..3453259e5b2f 100644 --- a/tests/incremental/hashes/inline_asm.rs +++ b/tests/incremental/hashes/inline_asm.rs @@ -12,6 +12,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/let_expressions.rs b/tests/incremental/hashes/let_expressions.rs index 86578855699b..b2e89380acb3 100644 --- a/tests/incremental/hashes/let_expressions.rs +++ b/tests/incremental/hashes/let_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/loop_expressions.rs b/tests/incremental/hashes/loop_expressions.rs index 631699d3d687..a8b89217b949 100644 --- a/tests/incremental/hashes/loop_expressions.rs +++ b/tests/incremental/hashes/loop_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/match_expressions.rs b/tests/incremental/hashes/match_expressions.rs index 9ed5b55fb250..0c7f847932b8 100644 --- a/tests/incremental/hashes/match_expressions.rs +++ b/tests/incremental/hashes/match_expressions.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/panic_exprs.rs b/tests/incremental/hashes/panic_exprs.rs index 509e111edc7a..e3d6f8a211ec 100644 --- a/tests/incremental/hashes/panic_exprs.rs +++ b/tests/incremental/hashes/panic_exprs.rs @@ -11,6 +11,7 @@ //@ build-pass (FIXME(62277): could be check-pass?) //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph -C debug-assertions -O +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/statics.rs b/tests/incremental/hashes/statics.rs index 9ea21d84ba15..cd394ed866e9 100644 --- a/tests/incremental/hashes/statics.rs +++ b/tests/incremental/hashes/statics.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/struct_constructors.rs b/tests/incremental/hashes/struct_constructors.rs index 31c549c6e7a9..da7abe049d98 100644 --- a/tests/incremental/hashes/struct_constructors.rs +++ b/tests/incremental/hashes/struct_constructors.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/struct_defs.rs b/tests/incremental/hashes/struct_defs.rs index 06ea08733979..c7582deb76ae 100644 --- a/tests/incremental/hashes/struct_defs.rs +++ b/tests/incremental/hashes/struct_defs.rs @@ -16,6 +16,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/trait_defs.rs b/tests/incremental/hashes/trait_defs.rs index 50b56441cca5..13334a08cae8 100644 --- a/tests/incremental/hashes/trait_defs.rs +++ b/tests/incremental/hashes/trait_defs.rs @@ -16,6 +16,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/trait_impls.rs b/tests/incremental/hashes/trait_impls.rs index a89b5b3e7829..03ca672af131 100644 --- a/tests/incremental/hashes/trait_impls.rs +++ b/tests/incremental/hashes/trait_impls.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/type_defs.rs b/tests/incremental/hashes/type_defs.rs index 137bffd9aeb6..b0cb2a6aa47d 100644 --- a/tests/incremental/hashes/type_defs.rs +++ b/tests/incremental/hashes/type_defs.rs @@ -13,6 +13,7 @@ //@ build-pass (FIXME(62277): could be check-pass?) //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph -O +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/unary_and_binary_exprs.rs b/tests/incremental/hashes/unary_and_binary_exprs.rs index d0b502845071..fec167c2604c 100644 --- a/tests/incremental/hashes/unary_and_binary_exprs.rs +++ b/tests/incremental/hashes/unary_and_binary_exprs.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/while_let_loops.rs b/tests/incremental/hashes/while_let_loops.rs index 7a7bcb7d039d..1071ee86b1fb 100644 --- a/tests/incremental/hashes/while_let_loops.rs +++ b/tests/incremental/hashes/while_let_loops.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hashes/while_loops.rs b/tests/incremental/hashes/while_loops.rs index dc343c3cbfae..57287cbcdcee 100644 --- a/tests/incremental/hashes/while_loops.rs +++ b/tests/incremental/hashes/while_loops.rs @@ -11,6 +11,7 @@ //@ [cfail1]compile-flags: -Zincremental-ignore-spans //@ [cfail2]compile-flags: -Zincremental-ignore-spans //@ [cfail3]compile-flags: -Zincremental-ignore-spans +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hello_world.rs b/tests/incremental/hello_world.rs index ab1f9dbf1840..d6d9b6b598c2 100644 --- a/tests/incremental/hello_world.rs +++ b/tests/incremental/hello_world.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/hygiene/load_cached_hygiene.rs b/tests/incremental/hygiene/load_cached_hygiene.rs index 101d280cd492..84f91e7ecdec 100644 --- a/tests/incremental/hygiene/load_cached_hygiene.rs +++ b/tests/incremental/hygiene/load_cached_hygiene.rs @@ -1,6 +1,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph //@ aux-build:cached_hygiene.rs +//@ ignore-backends: gcc // This tests the following scenario // 1. A foreign crate is compiled with incremental compilation. diff --git a/tests/incremental/ich_method_call_trait_scope.rs b/tests/incremental/ich_method_call_trait_scope.rs index a4c6558602f7..28234ca60d8e 100644 --- a/tests/incremental/ich_method_call_trait_scope.rs +++ b/tests/incremental/ich_method_call_trait_scope.rs @@ -3,6 +3,7 @@ //@ revisions: rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/ich_nested_items.rs b/tests/incremental/ich_nested_items.rs index c2a041ba268c..fa3ebcfa8e03 100644 --- a/tests/incremental/ich_nested_items.rs +++ b/tests/incremental/ich_nested_items.rs @@ -4,6 +4,7 @@ //@ revisions: cfail1 cfail2 //@ build-pass (FIXME(62277): could be check-pass?) //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![crate_type = "rlib"] #![feature(rustc_attrs)] diff --git a/tests/incremental/ich_resolve_results.rs b/tests/incremental/ich_resolve_results.rs index c5b2b66fef9f..41c98bd38912 100644 --- a/tests/incremental/ich_resolve_results.rs +++ b/tests/incremental/ich_resolve_results.rs @@ -3,6 +3,7 @@ //@ revisions: rpass1 rpass2 rpass3 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/incremental_proc_macro.rs b/tests/incremental/incremental_proc_macro.rs index fc32aad5645c..19ae746fc272 100644 --- a/tests/incremental/incremental_proc_macro.rs +++ b/tests/incremental/incremental_proc_macro.rs @@ -1,6 +1,7 @@ //@ proc-macro: incremental_proc_macro_aux.rs //@ revisions: cfail1 cfail2 //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc // This test makes sure that we still find the proc-macro registrar function // when we compile proc-macros incrementally (see #47292). diff --git a/tests/incremental/inlined_hir_34991/main.rs b/tests/incremental/inlined_hir_34991/main.rs index 7754add917d2..1d4740bd1608 100644 --- a/tests/incremental/inlined_hir_34991/main.rs +++ b/tests/incremental/inlined_hir_34991/main.rs @@ -5,6 +5,7 @@ // libstd), and we can't hash a HIR node from std. //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/issue-100521-change-struct-name-assocty.rs b/tests/incremental/issue-100521-change-struct-name-assocty.rs index 0c1938beef27..80f96ca7144d 100644 --- a/tests/incremental/issue-100521-change-struct-name-assocty.rs +++ b/tests/incremental/issue-100521-change-struct-name-assocty.rs @@ -1,4 +1,5 @@ //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc pub fn foo() { bar(); diff --git a/tests/incremental/issue-108481-feed-eval-always.rs b/tests/incremental/issue-108481-feed-eval-always.rs index ef2e2fb59c2d..e2229eeed0f1 100644 --- a/tests/incremental/issue-108481-feed-eval-always.rs +++ b/tests/incremental/issue-108481-feed-eval-always.rs @@ -1,4 +1,5 @@ //@ revisions: cpass1 cpass2 +//@ ignore-backends: gcc #![crate_type = "rlib"] diff --git a/tests/incremental/issue-110457-same-span-closures/main.rs b/tests/incremental/issue-110457-same-span-closures/main.rs index 6a5e4b315ce3..b89ba9fb651a 100644 --- a/tests/incremental/issue-110457-same-span-closures/main.rs +++ b/tests/incremental/issue-110457-same-span-closures/main.rs @@ -1,5 +1,6 @@ //@ proc-macro: egui_inspect_derive.rs //@ revisions: cpass1 cpass2 +//@ ignore-backends: gcc extern crate egui_inspect_derive; diff --git a/tests/incremental/issue-35593.rs b/tests/incremental/issue-35593.rs index 5e5235dc2c4c..522c88b9894a 100644 --- a/tests/incremental/issue-35593.rs +++ b/tests/incremental/issue-35593.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![rustc_partition_reused(module="issue_35593", cfg="rpass2")] diff --git a/tests/incremental/issue-38222.rs b/tests/incremental/issue-38222.rs index e45a16f99b33..0aecd1e1f98a 100644 --- a/tests/incremental/issue-38222.rs +++ b/tests/incremental/issue-38222.rs @@ -12,6 +12,7 @@ //@[rpass1] compile-flags: -C debuginfo=1 //@[rpass2] compile-flags: -C debuginfo=1 +//@ ignore-backends: gcc pub fn main() { mod1::some_fn(); diff --git a/tests/incremental/issue-39569.rs b/tests/incremental/issue-39569.rs index 6fd0776bd733..dd8d972a21bd 100644 --- a/tests/incremental/issue-39569.rs +++ b/tests/incremental/issue-39569.rs @@ -5,6 +5,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc use std::sync::Arc; diff --git a/tests/incremental/issue-39828/issue-39828.rs b/tests/incremental/issue-39828/issue-39828.rs index 703d8e8dd228..a6e62c038b84 100644 --- a/tests/incremental/issue-39828/issue-39828.rs +++ b/tests/incremental/issue-39828/issue-39828.rs @@ -7,6 +7,7 @@ //@ revisions:rpass1 rpass2 //@ aux-build:generic.rs +//@ ignore-backends: gcc extern crate generic; fn main() { } diff --git a/tests/incremental/issue-42602.rs b/tests/incremental/issue-42602.rs index d02c7f74665d..e75dd9696b79 100644 --- a/tests/incremental/issue-42602.rs +++ b/tests/incremental/issue-42602.rs @@ -9,6 +9,7 @@ //@ revisions:cfail1 cfail2 cfail3 //@ compile-flags:-Zquery-dep-graph //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/issue-49595/issue-49595.rs b/tests/incremental/issue-49595/issue-49595.rs index 7fe843135dfe..890b1f963a2f 100644 --- a/tests/incremental/issue-49595/issue-49595.rs +++ b/tests/incremental/issue-49595/issue-49595.rs @@ -1,6 +1,7 @@ //@ revisions:cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph --test //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![crate_type = "rlib"] diff --git a/tests/incremental/issue-59523-on-implemented-is-not-unused.rs b/tests/incremental/issue-59523-on-implemented-is-not-unused.rs index 973757223230..8260bd350e72 100644 --- a/tests/incremental/issue-59523-on-implemented-is-not-unused.rs +++ b/tests/incremental/issue-59523-on-implemented-is-not-unused.rs @@ -4,6 +4,7 @@ //@ revisions: cfail1 cfail2 //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![deny(unused_attributes)] diff --git a/tests/incremental/issue-59524-layout-scalar-valid-range-is-not-unused.rs b/tests/incremental/issue-59524-layout-scalar-valid-range-is-not-unused.rs index fcd58f7a8d65..5954aaa18ff9 100644 --- a/tests/incremental/issue-59524-layout-scalar-valid-range-is-not-unused.rs +++ b/tests/incremental/issue-59524-layout-scalar-valid-range-is-not-unused.rs @@ -5,6 +5,7 @@ //@ revisions: cfail1 cfail2 //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![deny(unused_attributes)] diff --git a/tests/incremental/issue-60629.rs b/tests/incremental/issue-60629.rs index 117e222fc393..f21e5da92213 100644 --- a/tests/incremental/issue-60629.rs +++ b/tests/incremental/issue-60629.rs @@ -1,4 +1,5 @@ //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc struct A; diff --git a/tests/incremental/issue-61530.rs b/tests/incremental/issue-61530.rs index 673556a9d02f..a06fa724615b 100644 --- a/tests/incremental/issue-61530.rs +++ b/tests/incremental/issue-61530.rs @@ -1,6 +1,7 @@ #![feature(repr_simd, core_intrinsics)] //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc use std::intrinsics::simd::simd_shuffle; diff --git a/tests/incremental/issue-62649-path-collisions-happen.rs b/tests/incremental/issue-62649-path-collisions-happen.rs index 3b04f0ac9d71..e604583b7aa7 100644 --- a/tests/incremental/issue-62649-path-collisions-happen.rs +++ b/tests/incremental/issue-62649-path-collisions-happen.rs @@ -1,4 +1,5 @@ //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc #[cfg(rpass1)] pub trait Something { diff --git a/tests/incremental/issue-69596.rs b/tests/incremental/issue-69596.rs index 00d0d2b64a4f..576cc0b82897 100644 --- a/tests/incremental/issue-69596.rs +++ b/tests/incremental/issue-69596.rs @@ -1,4 +1,5 @@ //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc #![allow(unused_imports)] diff --git a/tests/incremental/issue-72386.rs b/tests/incremental/issue-72386.rs index b3cd2a642081..de88dae5505f 100644 --- a/tests/incremental/issue-72386.rs +++ b/tests/incremental/issue-72386.rs @@ -1,6 +1,7 @@ //@ revisions: rpass1 cfail1 rpass3 //@ needs-asm-support //@ only-x86_64 +//@ ignore-backends: gcc // Regression test for issue #72386 // Checks that we don't ICE when switching to an invalid register // and back again diff --git a/tests/incremental/issue-79661-missing-def-path-hash.rs b/tests/incremental/issue-79661-missing-def-path-hash.rs index c063c6a33a28..f26f680c67e8 100644 --- a/tests/incremental/issue-79661-missing-def-path-hash.rs +++ b/tests/incremental/issue-79661-missing-def-path-hash.rs @@ -1,5 +1,6 @@ //@ aux-build:issue-79661.rs //@ revisions: rpass1 rpass2 rpass3 +//@ ignore-backends: gcc // Regression test for issue #79661 // We were failing to copy over a DefPathHash->DefId mapping diff --git a/tests/incremental/issue-79890-imported-crates-changed.rs b/tests/incremental/issue-79890-imported-crates-changed.rs index 8c70d224f9e5..f29ebd650c6e 100644 --- a/tests/incremental/issue-79890-imported-crates-changed.rs +++ b/tests/incremental/issue-79890-imported-crates-changed.rs @@ -2,6 +2,7 @@ //@ revisions:rpass1 rpass2 rpass3 //@ compile-flags:--extern issue_79890 --test //@ edition:2018 +//@ ignore-backends: gcc // Tests that we don't ICE when the set of imported crates changes #[cfg(rpass2)] use issue_79890::MyTrait; diff --git a/tests/incremental/issue-80336-invalid-span.rs b/tests/incremental/issue-80336-invalid-span.rs index 251a59c3b57d..fe8a2688c496 100644 --- a/tests/incremental/issue-80336-invalid-span.rs +++ b/tests/incremental/issue-80336-invalid-span.rs @@ -4,6 +4,7 @@ //@ revisions:rpass1 rpass2 //@ only-x86_64 +//@ ignore-backends: gcc pub fn main() { let _ = is_x86_feature_detected!("avx2"); diff --git a/tests/incremental/issue-80691-bad-eval-cache.rs b/tests/incremental/issue-80691-bad-eval-cache.rs index 4f897bd64a0d..2d3dbf6fed66 100644 --- a/tests/incremental/issue-80691-bad-eval-cache.rs +++ b/tests/incremental/issue-80691-bad-eval-cache.rs @@ -2,6 +2,7 @@ //@ failure-status: 101 //@ error-pattern: not implemented //@ needs-unwind -Cpanic=abort causes abort instead of exit(101) +//@ ignore-backends: gcc pub trait Interner { type InternedVariableKinds; diff --git a/tests/incremental/issue-82920-predicate-order-miscompile.rs b/tests/incremental/issue-82920-predicate-order-miscompile.rs index e1c8b1253f62..17a0601e9f4d 100644 --- a/tests/incremental/issue-82920-predicate-order-miscompile.rs +++ b/tests/incremental/issue-82920-predicate-order-miscompile.rs @@ -1,4 +1,5 @@ //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc trait MyTrait: One + Two {} impl One for T { diff --git a/tests/incremental/issue-85197-invalid-span/invalid_span_main.rs b/tests/incremental/issue-85197-invalid-span/invalid_span_main.rs index 6db5107cbe43..1814eb13ecc7 100644 --- a/tests/incremental/issue-85197-invalid-span/invalid_span_main.rs +++ b/tests/incremental/issue-85197-invalid-span/invalid_span_main.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 //@ aux-build:invalid-span-helper-lib.rs +//@ ignore-backends: gcc // This issue has several different parts. The high level idea is: // 1. We create an 'invalid' span with the help of the `respan` proc-macro, diff --git a/tests/incremental/issue-85360-eval-obligation-ice.rs b/tests/incremental/issue-85360-eval-obligation-ice.rs index 2148e45bb387..2b25d2a39484 100644 --- a/tests/incremental/issue-85360-eval-obligation-ice.rs +++ b/tests/incremental/issue-85360-eval-obligation-ice.rs @@ -3,6 +3,7 @@ //@[cfail2] compile-flags: --crate-type=lib -Zassert-incr-state=loaded //@ edition: 2021 //@ build-pass +//@ ignore-backends: gcc #![allow(dead_code)] diff --git a/tests/incremental/issue-92163-missing-sourcefile/issue_92163_main.rs b/tests/incremental/issue-92163-missing-sourcefile/issue_92163_main.rs index c5e73f056d70..991ac4cf257d 100644 --- a/tests/incremental/issue-92163-missing-sourcefile/issue_92163_main.rs +++ b/tests/incremental/issue-92163-missing-sourcefile/issue_92163_main.rs @@ -1,6 +1,7 @@ //@ aux-build:first_crate.rs //@ aux-build:second_crate.rs //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc // Regression test for issue #92163 // Under certain circumstances, we may end up trying to diff --git a/tests/incremental/issue-92987-provisional-dep-node.rs b/tests/incremental/issue-92987-provisional-dep-node.rs index 4daeb69189d5..4979f0956db0 100644 --- a/tests/incremental/issue-92987-provisional-dep-node.rs +++ b/tests/incremental/issue-92987-provisional-dep-node.rs @@ -1,4 +1,5 @@ //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc // Regression test for issue #92987 // Tests that we properly manage `DepNode`s during trait evaluation diff --git a/tests/incremental/issue-96319-coinductive-cycle.rs b/tests/incremental/issue-96319-coinductive-cycle.rs index cf98b325271d..f5524377256b 100644 --- a/tests/incremental/issue-96319-coinductive-cycle.rs +++ b/tests/incremental/issue-96319-coinductive-cycle.rs @@ -1,5 +1,6 @@ //@ edition:2018 //@ revisions: rpass1 rpass2 +//@ ignore-backends: gcc pub struct Stmt { pub stmt_type: StmtKind, diff --git a/tests/incremental/krate-inherent.rs b/tests/incremental/krate-inherent.rs index 0322d112560c..60ff636b6bea 100644 --- a/tests/incremental/krate-inherent.rs +++ b/tests/incremental/krate-inherent.rs @@ -1,6 +1,7 @@ //@ revisions: cfail1 cfail2 //@ compile-flags: -Z query-dep-graph //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/krate-inlined.rs b/tests/incremental/krate-inlined.rs index 3d96b0570f15..563b14bc0263 100644 --- a/tests/incremental/krate-inlined.rs +++ b/tests/incremental/krate-inlined.rs @@ -4,6 +4,7 @@ //@ revisions: rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/krate_reassign_34991/main.rs b/tests/incremental/krate_reassign_34991/main.rs index 50f418a3fddb..2aa77377f5da 100644 --- a/tests/incremental/krate_reassign_34991/main.rs +++ b/tests/incremental/krate_reassign_34991/main.rs @@ -1,5 +1,6 @@ //@ aux-build:a.rs //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/link_order/main.rs b/tests/incremental/link_order/main.rs index 20931e25dd4b..6046c018ef53 100644 --- a/tests/incremental/link_order/main.rs +++ b/tests/incremental/link_order/main.rs @@ -1,6 +1,7 @@ //@ aux-build:my_lib.rs //@ revisions:cfail1 cfail2 //@ compile-flags:-Z query-dep-graph +//@ ignore-backends: gcc // Tests that re-ordering the `-l` arguments used // when compiling an external dependency does not lead to diff --git a/tests/incremental/lto.rs b/tests/incremental/lto.rs index 044267a9cfdf..ddeddf95f8ae 100644 --- a/tests/incremental/lto.rs +++ b/tests/incremental/lto.rs @@ -1,6 +1,7 @@ //@ no-prefer-dynamic //@ revisions:rpass1 rpass2 //@ compile-flags: -C lto +//@ ignore-backends: gcc mod x { pub struct X { diff --git a/tests/incremental/macro_export.rs b/tests/incremental/macro_export.rs index 23e8f01cf330..4cc243ec9f0c 100644 --- a/tests/incremental/macro_export.rs +++ b/tests/incremental/macro_export.rs @@ -1,5 +1,6 @@ //@ revisions: cfail1 cfail2 cfail3 //@ build-pass (FIXME(62277): could be check-pass?) +//@ ignore-backends: gcc // This test case makes sure that we can compile with incremental compilation // enabled when there are macros exported from this crate. (See #37756) diff --git a/tests/incremental/mir-opt.rs b/tests/incremental/mir-opt.rs index 04b82d9ea7fd..2735efd3ea59 100644 --- a/tests/incremental/mir-opt.rs +++ b/tests/incremental/mir-opt.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph -Z mir-opt-level=3 +//@ ignore-backends: gcc fn main() { if std::env::var("a").is_ok() { diff --git a/tests/incremental/remapped_paths_cc/main.rs b/tests/incremental/remapped_paths_cc/main.rs index 35e03d754469..eee541148f0b 100644 --- a/tests/incremental/remapped_paths_cc/main.rs +++ b/tests/incremental/remapped_paths_cc/main.rs @@ -1,6 +1,7 @@ //@ revisions:rpass1 rpass2 rpass3 //@ compile-flags: -Z query-dep-graph -g //@ aux-build:extern_crate.rs +//@ ignore-backends: gcc // This test case makes sure that we detect if paths emitted into debuginfo // are changed, even when the change happens in an external crate. diff --git a/tests/incremental/remove-private-item-cross-crate/main.rs b/tests/incremental/remove-private-item-cross-crate/main.rs index 209b061dfb66..762d0aac26de 100644 --- a/tests/incremental/remove-private-item-cross-crate/main.rs +++ b/tests/incremental/remove-private-item-cross-crate/main.rs @@ -4,6 +4,7 @@ //@ revisions:rpass1 rpass2 //@ aux-build:a.rs //@ compile-flags: -Zquery-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![crate_type = "bin"] diff --git a/tests/incremental/remove_crate/main.rs b/tests/incremental/remove_crate/main.rs index e3f15bd9c8cd..ee6883b6db27 100644 --- a/tests/incremental/remove_crate/main.rs +++ b/tests/incremental/remove_crate/main.rs @@ -2,6 +2,7 @@ //@ revisions:rpass1 rpass2 //@ aux-build:extern_crate.rs +//@ ignore-backends: gcc #[cfg(rpass1)] extern crate extern_crate; diff --git a/tests/incremental/reorder_vtable.rs b/tests/incremental/reorder_vtable.rs index 89ff14e8feee..aba2749e2f65 100644 --- a/tests/incremental/reorder_vtable.rs +++ b/tests/incremental/reorder_vtable.rs @@ -1,4 +1,5 @@ //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc // This test case makes sure re-order the methods in a vtable will // trigger recompilation of codegen units that instantiate it. diff --git a/tests/incremental/rlib_cross_crate/b.rs b/tests/incremental/rlib_cross_crate/b.rs index 672d2ba40684..3373f8098c4f 100644 --- a/tests/incremental/rlib_cross_crate/b.rs +++ b/tests/incremental/rlib_cross_crate/b.rs @@ -7,6 +7,7 @@ //@ revisions:rpass1 rpass2 rpass3 //@ no-prefer-dynamic //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/rustc-rust-log.rs b/tests/incremental/rustc-rust-log.rs index 602d376bae5f..f3adbdcfa59c 100644 --- a/tests/incremental/rustc-rust-log.rs +++ b/tests/incremental/rustc-rust-log.rs @@ -6,6 +6,7 @@ //@ dont-check-compiler-stderr //@ aux-build: rustc-rust-log-aux.rs //@ rustc-env:RUSTC_LOG=debug +//@ ignore-backends: gcc #[cfg(rpass1)] fn main() {} diff --git a/tests/incremental/slice-pattern-const-ice-83085.rs b/tests/incremental/slice-pattern-const-ice-83085.rs index 4d318fd7ec18..e1a4407595f9 100644 --- a/tests/incremental/slice-pattern-const-ice-83085.rs +++ b/tests/incremental/slice-pattern-const-ice-83085.rs @@ -3,6 +3,7 @@ // this used to fail to build straight away without needing any kind of // stage1/2 builds but tidy demands it //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc fn main() { const BOO: &[u8; 0] = &[]; diff --git a/tests/incremental/source_loc_macros.rs b/tests/incremental/source_loc_macros.rs index dbe0a4ba9046..ba67fa2fadad 100644 --- a/tests/incremental/source_loc_macros.rs +++ b/tests/incremental/source_loc_macros.rs @@ -4,6 +4,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/span_hash_stable/main.rs b/tests/incremental/span_hash_stable/main.rs index 0dba650163d3..c524ee3ec56d 100644 --- a/tests/incremental/span_hash_stable/main.rs +++ b/tests/incremental/span_hash_stable/main.rs @@ -5,6 +5,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -g -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/spans_in_type_debuginfo.rs b/tests/incremental/spans_in_type_debuginfo.rs index e8ae592c0c74..e56b782e92f1 100644 --- a/tests/incremental/spans_in_type_debuginfo.rs +++ b/tests/incremental/spans_in_type_debuginfo.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph -g +//@ ignore-backends: gcc #![rustc_partition_reused(module="spans_in_type_debuginfo-structs", cfg="rpass2")] #![rustc_partition_reused(module="spans_in_type_debuginfo-enums", cfg="rpass2")] diff --git a/tests/incremental/spans_significant_w_debuginfo.rs b/tests/incremental/spans_significant_w_debuginfo.rs index 48be9cd3bc96..06baecd75e5b 100644 --- a/tests/incremental/spans_significant_w_debuginfo.rs +++ b/tests/incremental/spans_significant_w_debuginfo.rs @@ -4,6 +4,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -g -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![rustc_partition_codegened(module = "spans_significant_w_debuginfo", cfg = "rpass2")] diff --git a/tests/incremental/spans_significant_w_panic.rs b/tests/incremental/spans_significant_w_panic.rs index f9016725258b..34363c359dca 100644 --- a/tests/incremental/spans_significant_w_panic.rs +++ b/tests/incremental/spans_significant_w_panic.rs @@ -4,6 +4,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -C overflow-checks=on -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![rustc_partition_codegened(module = "spans_significant_w_panic", cfg = "rpass2")] diff --git a/tests/incremental/spike.rs b/tests/incremental/spike.rs index 5e6cd2fe3b39..da1d20fe1165 100644 --- a/tests/incremental/spike.rs +++ b/tests/incremental/spike.rs @@ -4,6 +4,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/split_debuginfo_cached.rs b/tests/incremental/split_debuginfo_cached.rs index 4dea77308a71..0feb1cb6174e 100644 --- a/tests/incremental/split_debuginfo_cached.rs +++ b/tests/incremental/split_debuginfo_cached.rs @@ -8,6 +8,7 @@ //@ [rpass1]compile-flags: -g -Zquery-dep-graph -Csplit-debuginfo=packed -Zsplit-dwarf-kind=split //@ [rpass2]compile-flags: -g -Zquery-dep-graph -Csplit-debuginfo=packed -Zsplit-dwarf-kind=split +//@ ignore-backends: gcc #![feature(rustc_attrs)] // For `rpass2`, nothing has changed so everything should re-used. diff --git a/tests/incremental/static_cycle/b.rs b/tests/incremental/static_cycle/b.rs index 7054b2ea4e36..c8243cb5328c 100644 --- a/tests/incremental/static_cycle/b.rs +++ b/tests/incremental/static_cycle/b.rs @@ -1,4 +1,5 @@ //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #![cfg_attr(rpass2, warn(dead_code))] diff --git a/tests/incremental/static_refering_to_other_static/issue-49081.rs b/tests/incremental/static_refering_to_other_static/issue-49081.rs index b6c1c1a9c8bd..83111412fee8 100644 --- a/tests/incremental/static_refering_to_other_static/issue-49081.rs +++ b/tests/incremental/static_refering_to_other_static/issue-49081.rs @@ -1,6 +1,7 @@ // https://github.com/rust-lang/rust/issues/49081 //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc pub static A: i32 = 42; pub static B: &i32 = &A; diff --git a/tests/incremental/static_refering_to_other_static2/issue.rs b/tests/incremental/static_refering_to_other_static2/issue.rs index 8b6dc6d3e4b0..7682352f3363 100644 --- a/tests/incremental/static_refering_to_other_static2/issue.rs +++ b/tests/incremental/static_refering_to_other_static2/issue.rs @@ -1,4 +1,5 @@ //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #[cfg(rpass1)] pub static A: i32 = 42; diff --git a/tests/incremental/static_refering_to_other_static3/issue.rs b/tests/incremental/static_refering_to_other_static3/issue.rs index 39e46745f8a2..b7ad0eacfd01 100644 --- a/tests/incremental/static_refering_to_other_static3/issue.rs +++ b/tests/incremental/static_refering_to_other_static3/issue.rs @@ -1,4 +1,5 @@ //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #[cfg(rpass1)] pub static A: u8 = 42; diff --git a/tests/incremental/static_stable_hash/issue-49301.rs b/tests/incremental/static_stable_hash/issue-49301.rs index 68dc6d214c4e..7d6b292d80d2 100644 --- a/tests/incremental/static_stable_hash/issue-49301.rs +++ b/tests/incremental/static_stable_hash/issue-49301.rs @@ -1,6 +1,7 @@ // https://github.com/rust-lang/rust/issues/49081 //@ revisions:rpass1 rpass2 +//@ ignore-backends: gcc #[cfg(rpass1)] pub static A: &str = "hello"; diff --git a/tests/incremental/struct_add_field.rs b/tests/incremental/struct_add_field.rs index ad1b6fcfe282..2c26b388122a 100644 --- a/tests/incremental/struct_add_field.rs +++ b/tests/incremental/struct_add_field.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/struct_change_field_type.rs b/tests/incremental/struct_change_field_type.rs index aed6c8884ac4..0291b34e3622 100644 --- a/tests/incremental/struct_change_field_type.rs +++ b/tests/incremental/struct_change_field_type.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/struct_change_field_type_cross_crate/b.rs b/tests/incremental/struct_change_field_type_cross_crate/b.rs index 00bc3db0de86..5307d0af9d0a 100644 --- a/tests/incremental/struct_change_field_type_cross_crate/b.rs +++ b/tests/incremental/struct_change_field_type_cross_crate/b.rs @@ -1,6 +1,7 @@ //@ aux-build:a.rs //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/struct_change_nothing.rs b/tests/incremental/struct_change_nothing.rs index 3fc9a1c4de7f..fd8c4882e1b2 100644 --- a/tests/incremental/struct_change_nothing.rs +++ b/tests/incremental/struct_change_nothing.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/struct_remove_field.rs b/tests/incremental/struct_remove_field.rs index 488d7996b339..23ba27344f9c 100644 --- a/tests/incremental/struct_remove_field.rs +++ b/tests/incremental/struct_remove_field.rs @@ -3,6 +3,7 @@ //@ revisions:rpass1 rpass2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/thinlto/cgu_invalidated_via_import.rs b/tests/incremental/thinlto/cgu_invalidated_via_import.rs index 04a5a06384a3..09380625ff61 100644 --- a/tests/incremental/thinlto/cgu_invalidated_via_import.rs +++ b/tests/incremental/thinlto/cgu_invalidated_via_import.rs @@ -5,6 +5,7 @@ //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph -O //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![crate_type="rlib"] diff --git a/tests/incremental/thinlto/cgu_invalidated_when_export_added.rs b/tests/incremental/thinlto/cgu_invalidated_when_export_added.rs index a9b05467bf68..b6c9ceec2719 100644 --- a/tests/incremental/thinlto/cgu_invalidated_when_export_added.rs +++ b/tests/incremental/thinlto/cgu_invalidated_when_export_added.rs @@ -1,5 +1,6 @@ //@ revisions: cfail1 cfail2 //@ build-pass +//@ ignore-backends: gcc // rust-lang/rust#69798: // diff --git a/tests/incremental/thinlto/cgu_invalidated_when_export_removed.rs b/tests/incremental/thinlto/cgu_invalidated_when_export_removed.rs index 3a78a290c7b2..488e8f68c510 100644 --- a/tests/incremental/thinlto/cgu_invalidated_when_export_removed.rs +++ b/tests/incremental/thinlto/cgu_invalidated_when_export_removed.rs @@ -1,5 +1,6 @@ //@ revisions: cfail1 cfail2 //@ build-pass +//@ ignore-backends: gcc // rust-lang/rust#69798: // diff --git a/tests/incremental/thinlto/cgu_invalidated_when_import_added.rs b/tests/incremental/thinlto/cgu_invalidated_when_import_added.rs index 4198c6c273ba..e17bf5eb8e80 100644 --- a/tests/incremental/thinlto/cgu_invalidated_when_import_added.rs +++ b/tests/incremental/thinlto/cgu_invalidated_when_import_added.rs @@ -1,6 +1,7 @@ //@ revisions: cfail1 cfail2 //@ compile-flags: -O -Zhuman-readable-cgu-names -Cllvm-args=-import-instr-limit=10 //@ build-pass +//@ ignore-backends: gcc // rust-lang/rust#59535: // diff --git a/tests/incremental/thinlto/cgu_invalidated_when_import_removed.rs b/tests/incremental/thinlto/cgu_invalidated_when_import_removed.rs index 4880d376fcc0..b2b86bdb80c2 100644 --- a/tests/incremental/thinlto/cgu_invalidated_when_import_removed.rs +++ b/tests/incremental/thinlto/cgu_invalidated_when_import_removed.rs @@ -1,6 +1,7 @@ //@ revisions: cfail1 cfail2 //@ compile-flags: -O -Zhuman-readable-cgu-names -Cllvm-args=-import-instr-limit=10 //@ build-pass +//@ ignore-backends: gcc // rust-lang/rust#59535: // diff --git a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs index d124a3498c4a..6c87130b7385 100644 --- a/tests/incremental/thinlto/cgu_keeps_identical_fn.rs +++ b/tests/incremental/thinlto/cgu_keeps_identical_fn.rs @@ -6,6 +6,7 @@ //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph -O //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![crate_type = "rlib"] diff --git a/tests/incremental/thinlto/independent_cgus_dont_affect_each_other.rs b/tests/incremental/thinlto/independent_cgus_dont_affect_each_other.rs index e05508fa8e30..15d2f315d16e 100644 --- a/tests/incremental/thinlto/independent_cgus_dont_affect_each_other.rs +++ b/tests/incremental/thinlto/independent_cgus_dont_affect_each_other.rs @@ -4,6 +4,7 @@ //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Z query-dep-graph -O //@ build-pass +//@ ignore-backends: gcc #![feature(rustc_attrs)] #![crate_type="rlib"] diff --git a/tests/incremental/type_alias_cross_crate/b.rs b/tests/incremental/type_alias_cross_crate/b.rs index 7187336ba5ee..7fa7073e3da9 100644 --- a/tests/incremental/type_alias_cross_crate/b.rs +++ b/tests/incremental/type_alias_cross_crate/b.rs @@ -1,6 +1,7 @@ //@ aux-build:a.rs //@ revisions:rpass1 rpass2 rpass3 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![feature(rustc_attrs)] diff --git a/tests/incremental/unchecked_dirty_clean.rs b/tests/incremental/unchecked_dirty_clean.rs index aab3333dff34..e500bdf8fad3 100644 --- a/tests/incremental/unchecked_dirty_clean.rs +++ b/tests/incremental/unchecked_dirty_clean.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 cfail2 //@ compile-flags: -Z query-dep-graph +//@ ignore-backends: gcc #![allow(warnings)] #![feature(rustc_attrs)] diff --git a/tests/incremental/unrecoverable_query.rs b/tests/incremental/unrecoverable_query.rs index 798a418f7990..367339cdcc02 100644 --- a/tests/incremental/unrecoverable_query.rs +++ b/tests/incremental/unrecoverable_query.rs @@ -7,6 +7,7 @@ //@ revisions:cfail1 cfail2 //@ compile-flags: --crate-type=lib //@ build-pass +//@ ignore-backends: gcc #![allow(dead_code)] diff --git a/tests/incremental/user-written-closure-synthetic-closure-conflict.rs b/tests/incremental/user-written-closure-synthetic-closure-conflict.rs index 618604d06b17..31b94536c4ab 100644 --- a/tests/incremental/user-written-closure-synthetic-closure-conflict.rs +++ b/tests/incremental/user-written-closure-synthetic-closure-conflict.rs @@ -1,5 +1,6 @@ //@ revisions: rpass1 rpass2 //@ edition: 2024 +//@ ignore-backends: gcc #![allow(unused)] diff --git a/tests/incremental/warnings-reemitted.rs b/tests/incremental/warnings-reemitted.rs index c38c43d46df6..5eefd8608c2f 100644 --- a/tests/incremental/warnings-reemitted.rs +++ b/tests/incremental/warnings-reemitted.rs @@ -1,6 +1,7 @@ //@ revisions: cfail1 cfail2 cfail3 //@ compile-flags: -Coverflow-checks=on //@ build-pass +//@ ignore-backends: gcc #![warn(arithmetic_overflow)]