public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc/devel/omp/gcc-11] libgomp.fortran/depobj-1.f90: Fix omp_depend_kind
Date: Thu, 13 May 2021 16:20:37 +0000 (GMT)	[thread overview]
Message-ID: <20210513162037.C3AD23894C37@sourceware.org> (raw)

https://gcc.gnu.org/g:bf036486ff855b6bfb35b2cee1b39b87d547c7b5

commit bf036486ff855b6bfb35b2cee1b39b87d547c7b5
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Apr 21 22:47:18 2021 +0200

    libgomp.fortran/depobj-1.f90: Fix omp_depend_kind
    
    libgomp/
            * testsuite/libgomp.fortran/depobj-1.f90: Use omp_lib's
            omp_depend_kind instead of defining it as 16.
    
    (cherry picked from commit 0c0bdcc60cfa0e87b3b9abc1460a7073b199d38a)

Diff:
---
 libgomp/ChangeLog.omp                          | 8 ++++++++
 libgomp/testsuite/libgomp.fortran/depobj-1.f90 | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 6597e3e7ea9..23d243dec45 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,11 @@
+2021-04-22  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+	Backport from mainline
+	2021-04-21  Tobias Burnus  <tobias@codesourcery.com>
+
+	* testsuite/libgomp.fortran/depobj-1.f90: Use omp_lib's
+	omp_depend_kind instead of defining it as 16.
+
 2021-04-22  Kwok Cheung Yeung  <kcy@codesourcery.com>
 
 	Backport from mainline
diff --git a/libgomp/testsuite/libgomp.fortran/depobj-1.f90 b/libgomp/testsuite/libgomp.fortran/depobj-1.f90
index eb314f67bae..1e239bba492 100644
--- a/libgomp/testsuite/libgomp.fortran/depobj-1.f90
+++ b/libgomp/testsuite/libgomp.fortran/depobj-1.f90
@@ -1,7 +1,6 @@
 module m
-!  use omp_lib
+  use omp_lib, only: omp_depend_kind
   implicit none (type, external)
-integer, parameter :: omp_depend_kind = 16
   integer :: xx
   integer(omp_depend_kind) :: dd1, dd2
 contains


                 reply	other threads:[~2021-05-13 16:20 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=20210513162037.C3AD23894C37@sourceware.org \
    --to=kcy@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).