aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2023-10-14 20:09:34 +0200
committerTobias Burnus <tobias@codesourcery.com>2023-10-14 20:09:34 +0200
commitfd6b17a4892684f286274d874f0029604feda7e5 (patch)
tree1c5ea4c699b4c9b80753b9318e293d6072db9c6d /libgomp/testsuite
parent578afbc751d122b55196a23fe75a17e1b4e9bd0c (diff)
downloadgcc-fd6b17a4892684f286274d874f0029604feda7e5.zip
gcc-fd6b17a4892684f286274d874f0029604feda7e5.tar.gz
gcc-fd6b17a4892684f286274d874f0029604feda7e5.tar.bz2
libgomp.fortran/allocate-6.f90: Run with -fdump-tree-gimple
libgomp/ * testsuite/libgomp.fortran/allocate-6.f90: Add missing dg-additional-options "-fdump-tree-gimple"; fix scan.
Diffstat (limited to 'libgomp/testsuite')
-rw-r--r--libgomp/testsuite/libgomp.fortran/allocate-6.f905
1 files changed, 3 insertions, 2 deletions
diff --git a/libgomp/testsuite/libgomp.fortran/allocate-6.f90 b/libgomp/testsuite/libgomp.fortran/allocate-6.f90
index 5c32652..5034dd2 100644
--- a/libgomp/testsuite/libgomp.fortran/allocate-6.f90
+++ b/libgomp/testsuite/libgomp.fortran/allocate-6.f90
@@ -1,3 +1,4 @@
+! { dg-additional-options "-fdump-tree-gimple" }
module m
use iso_c_binding
use omp_lib
@@ -23,10 +24,10 @@ subroutine one ()
!$omp allocate(var,var2) align(128) allocator(omp_low_lat_mem_alloc)
var = 5
! { dg-final { scan-tree-dump-times "var\\.\[0-9\]+ = __builtin_GOMP_alloc \\(128, 4, 5\\);" 1 "gimple" } } */
-! { dg-final { scan-tree-dump-times "var2\\.\[0-9\]+ = __builtin_GOMP_alloc \\(128, D\\.\[0-9\]+, 5\\);" 1 "gimple" } } */
+! { dg-final { scan-tree-dump-times "var2 = __builtin_GOMP_alloc \\(128, D\\.\[0-9\]+, 5\\);" 1 "gimple" } } */
! { dg-final { scan-tree-dump-times "__builtin_GOMP_free \\(var\\.\[0-9\]+, 0B\\);" 1 "gimple" } } */
-! { dg-final { scan-tree-dump-times "__builtin_GOMP_free \\(var2\\.\[0-9\]+, 0B\\);" 1 "gimple" } } */
+! { dg-final { scan-tree-dump-times "__builtin_GOMP_free \\(var2, 0B\\);" 1 "gimple" } } */
if (mod(transfer(loc(var), intptr), 128_c_intptr_t) /= 0) &
stop 1