Remove libgomp/testsuite/libgomp.fortran/allocate-4.f90 [PR108056]
authorTobias Burnus <tobias@codesourcery.com>
Fri, 16 Dec 2022 07:56:03 +0000 (08:56 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Fri, 16 Dec 2022 07:56:03 +0000 (08:56 +0100)
Commit r13-4716-ge205ec03f0794aeac3e8a89e947c12624d5a274e accidentally
included a testcase of another patch that is pending review:
https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608401.html

libgomp/
PR libfortran/108056

* testsuite/libgomp.fortran/allocate-4.f90: Remove
accidentally added file.

libgomp/testsuite/libgomp.fortran/allocate-4.f90 [deleted file]

diff --git a/libgomp/testsuite/libgomp.fortran/allocate-4.f90 b/libgomp/testsuite/libgomp.fortran/allocate-4.f90
deleted file mode 100644 (file)
index ddb507b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-! { dg-do compile }
-
-
-subroutine test()
-use iso_c_binding, only: c_intptr_t
-implicit none
-integer, parameter :: omp_allocator_handle_kind = 1 !! <<<
-integer (kind=omp_allocator_handle_kind), &
-                 parameter :: omp_high_bw_mem_alloc = 4
-integer :: q, x,y,z
-integer, parameter :: cnst(2) = [64, 101]
-
-!$omp parallel allocate( omp_high_bw_mem_alloc : x)  firstprivate(x) ! { dg-error "Expected integer expression of the 'omp_allocator_handle_kind' kind" }
-!$omp end parallel
-
-!$omp parallel allocate( allocator (omp_high_bw_mem_alloc) : x)  firstprivate(x) ! { dg-error "Expected integer expression of the 'omp_allocator_handle_kind' kind" }
-!$omp end parallel
-
-!$omp parallel allocate( align (q) : x)  firstprivate(x) ! { dg-error "32:ALIGN modifier requires at \\(1\\) a scalar positive constant integer alignment expression that is a power of two" }
-!$omp end parallel
-
-!$omp parallel allocate( align (32) : x)  firstprivate(x) ! OK
-!$omp end parallel
-
-!$omp parallel allocate( align(q) : x) firstprivate(x) ! { dg-error "31:ALIGN modifier requires at \\(1\\) a scalar positive constant integer alignment expression that is a power of two" }
-!$omp end parallel
-
-!$omp parallel allocate( align(cnst(1)) : x ) firstprivate(x) ! OK
-!$omp end parallel
-
-!$omp parallel allocate( align(cnst(2)) : x) firstprivate(x)  ! { dg-error "31:ALIGN modifier requires at \\(1\\) a scalar positive constant integer alignment expression that is a power of two" }
-!$omp end parallel
-
-!$omp parallel allocate( align( 31) :x) firstprivate(x)  ! { dg-error "32:ALIGN modifier requires at \\(1\\) a scalar positive constant integer alignment expression that is a power of two" }
-!$omp end parallel
-
-!$omp parallel allocate( align (32.0): x) firstprivate(x)  ! { dg-error "32:ALIGN modifier requires at \\(1\\) a scalar positive constant integer alignment expression that is a power of two" }
-!$omp end parallel
-
-!$omp parallel allocate( align(cnst ) : x ) firstprivate(x)  ! { dg-error "31:ALIGN modifier requires at \\(1\\) a scalar positive constant integer alignment expression that is a power of two" }
-!$omp end parallel
-end