diff --git a/gcc/testsuite/rust/compile/builtin_macro_eager1.rs b/gcc/testsuite/rust/compile/builtin_macro_eager1.rs index 65a80fda62e..7c6f6f95d61 100644 --- a/gcc/testsuite/rust/compile/builtin_macro_eager1.rs +++ b/gcc/testsuite/rust/compile/builtin_macro_eager1.rs @@ -15,7 +15,7 @@ macro_rules! b { } fn main() { - // { dg-final { scan-tree-dump-times {"test1canary"} 1 gimple } } + // { dg-final { scan-assembler {"test1canary"} } } let _ = concat!(a!(), 1, b!()); // should not error concat!(a!(), true, b!(),); diff --git a/gcc/testsuite/rust/compile/builtin_macro_recurse2.rs b/gcc/testsuite/rust/compile/builtin_macro_recurse2.rs index 2e73ab54fb6..c6e9fae9a94 100644 --- a/gcc/testsuite/rust/compile/builtin_macro_recurse2.rs +++ b/gcc/testsuite/rust/compile/builtin_macro_recurse2.rs @@ -16,6 +16,6 @@ macro_rules! a { } fn main() { - // { dg-final { scan-tree-dump-times {"abheyho"} 1 gimple } } + // { dg-final { scan-assembler {"abheyho"} } } let _ = concat!("a", 'b', a!(), a!(b c d e f a!()), '\0'); }