public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-4737] Remove libgomp/testsuite/libgomp.fortran/allocate-4.f90 [PR108056]
Date: Fri, 16 Dec 2022 07:57:04 +0000 (GMT)	[thread overview]
Message-ID: <20221216075704.55D74388F313@sourceware.org> (raw)

https://gcc.gnu.org/g:18af26fc375398f0a7cd7bae5aabebd447f8c899

commit r13-4737-g18af26fc375398f0a7cd7bae5aabebd447f8c899
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Fri Dec 16 08:56:03 2022 +0100

    Remove libgomp/testsuite/libgomp.fortran/allocate-4.f90 [PR108056]
    
    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.

Diff:
---
 libgomp/testsuite/libgomp.fortran/allocate-4.f90 | 42 ------------------------
 1 file changed, 42 deletions(-)

diff --git a/libgomp/testsuite/libgomp.fortran/allocate-4.f90 b/libgomp/testsuite/libgomp.fortran/allocate-4.f90
deleted file mode 100644
index ddb507ba8e4..00000000000
--- a/libgomp/testsuite/libgomp.fortran/allocate-4.f90
+++ /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

                 reply	other threads:[~2022-12-16  7:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221216075704.55D74388F313@sourceware.org \
    --to=burnus@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).