From: Tobias Burnus Date: Fri, 12 Dec 2025 21:50:39 +0000 (+0100) Subject: Fix libgomp.fortran/dep-uses-allocators.f90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=350794cb07fb6e8f3b928a49d43b12b8c0f94fd1;p=thirdparty%2Fgcc.git Fix libgomp.fortran/dep-uses-allocators.f90 libgomp/ChangeLog: * testsuite/libgomp.fortran/dep-uses-allocators.f90: Properly escape '(..)' in dg-warning. --- diff --git a/libgomp/testsuite/libgomp.fortran/dep-uses-allocators.f90 b/libgomp/testsuite/libgomp.fortran/dep-uses-allocators.f90 index 6194dad2cfc..ab81ffb910d 100644 --- a/libgomp/testsuite/libgomp.fortran/dep-uses-allocators.f90 +++ b/libgomp/testsuite/libgomp.fortran/dep-uses-allocators.f90 @@ -1,5 +1,5 @@ ! { dg-do compile } -! { dg-warning "The specification of arguments to 'uses_allocators' at \\(1\\) where each item is of the form 'allocator\\(traits\\)' is deprecated since OpenMP 5.2; instead use 'uses_allocators(traits(trait): a1)' \\\[-Wdeprecated-openmp\\\]" "" { target *-*-* } 11 } +! { dg-warning "The specification of arguments to 'uses_allocators' at \\(1\\) where each item is of the form 'allocator\\(traits\\)' is deprecated since OpenMP 5.2; instead use 'uses_allocators\\(traits\\(trait\\): a1\\)' \\\[-Wdeprecated-openmp\\\]" "" { target *-*-* } 11 } program test use omp_lib