diff --git a/gcc/testsuite/rust/execute/torture/builtin_macros1.rs b/gcc/testsuite/rust/execute/torture/builtin_macros1.rs index f5dcbd6423c5..04d00581897a 100644 --- a/gcc/testsuite/rust/execute/torture/builtin_macros1.rs +++ b/gcc/testsuite/rust/execute/torture/builtin_macros1.rs @@ -1,4 +1,4 @@ -// { dg-output "rust/execute/torture/builtin_macros1.rs\r*" } +// { dg-output "rust/execute/torture/builtin_macros1.rs\r*\n" } #![feature(rustc_attrs)] #[rustc_builtin_macro] diff --git a/gcc/testsuite/rust/execute/torture/coercion3.rs b/gcc/testsuite/rust/execute/torture/coercion3.rs index e88338ae2f3c..0686056de4e8 100644 --- a/gcc/testsuite/rust/execute/torture/coercion3.rs +++ b/gcc/testsuite/rust/execute/torture/coercion3.rs @@ -1,4 +1,4 @@ -// { dg-output "123\n" } +// { dg-output "123\r*\n" } #[lang = "sized"] pub trait Sized {} diff --git a/gcc/testsuite/rust/execute/torture/issue-2080.rs b/gcc/testsuite/rust/execute/torture/issue-2080.rs index dbdbf41ff921..5fdf911efe1f 100644 --- a/gcc/testsuite/rust/execute/torture/issue-2080.rs +++ b/gcc/testsuite/rust/execute/torture/issue-2080.rs @@ -1,4 +1,4 @@ -// { dg-output "hello world: gccrs\n" } +// { dg-output "hello world: gccrs\r*\n" } // { dg-additional-options "-w" } static TEST_1: &str = "gccrs"; static TEST_2: i32 = 123; diff --git a/gcc/testsuite/rust/execute/torture/issue-2179.rs b/gcc/testsuite/rust/execute/torture/issue-2179.rs index 86ed11f51c59..8a5ec1bf32e2 100644 --- a/gcc/testsuite/rust/execute/torture/issue-2179.rs +++ b/gcc/testsuite/rust/execute/torture/issue-2179.rs @@ -1,4 +1,4 @@ -// { dg-output "123\n" } +// { dg-output "123\r*\n" } #[lang = "sized"] pub trait Sized {} diff --git a/gcc/testsuite/rust/execute/torture/issue-2180.rs b/gcc/testsuite/rust/execute/torture/issue-2180.rs index beed69620a0d..6bd71720e481 100644 --- a/gcc/testsuite/rust/execute/torture/issue-2180.rs +++ b/gcc/testsuite/rust/execute/torture/issue-2180.rs @@ -1,4 +1,4 @@ -// { dg-output "123\n" } +// { dg-output "123\r*\n" } #[lang = "sized"] pub trait Sized {} diff --git a/gcc/testsuite/rust/execute/torture/iter1.rs b/gcc/testsuite/rust/execute/torture/iter1.rs index 08f06456e363..c3b6c7bc3f89 100644 --- a/gcc/testsuite/rust/execute/torture/iter1.rs +++ b/gcc/testsuite/rust/execute/torture/iter1.rs @@ -1,4 +1,4 @@ -// { dg-output "1\n2\n" } +// { dg-output "1\r*\n2\r*\n" } #![feature(intrinsics)] pub use option::Option::{self, None, Some};