]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix libgomp.fortran/dep-uses-allocators.f90
authorTobias Burnus <tburnus@baylibre.com>
Fri, 12 Dec 2025 21:50:39 +0000 (22:50 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Fri, 12 Dec 2025 21:50:39 +0000 (22:50 +0100)
libgomp/ChangeLog:

* testsuite/libgomp.fortran/dep-uses-allocators.f90: Properly
escape '(..)' in dg-warning.

libgomp/testsuite/libgomp.fortran/dep-uses-allocators.f90

index 6194dad2cfcdeb3c8af8c63129263c28e459f05a..ab81ffb910d99881a108bd3adfd64df9415ca6fb 100644 (file)
@@ -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