public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Thomas Kथघnig" <tkoenig@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r11-5803] Upper cobound is determined by num_images(), not this_image().
Date: Sun,  6 Dec 2020 09:17:21 +0000 (GMT)	[thread overview]
Message-ID: <20201206091721.34A59385DC14@sourceware.org> (raw)

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

commit r11-5803-gbd0f0243869b3941a256ca0ea9c8aca141412f7e
Author: Thomas Koenig <tkoenig@gcc.gnu.org>
Date:   Sun Dec 6 10:14:13 2020 +0100

    Upper cobound is determined by num_images(), not this_image().
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/98156
            * gfortran.dg/coarray/alloc_comp_1.f90: Upper cobound is
            determined by num_images(), not this_image().

Diff:
---
 gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90 b/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90
index f809a5f4d11..cf3ece2523b 100644
--- a/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90
+++ b/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90
@@ -10,7 +10,7 @@ allocate (a%caf[3:*])
 a%caf = 7
 if (a%caf /= 7) STOP 1
 if (any (lcobound (a%caf) /= [ 3 ]) &
-    .or. ucobound (a%caf, dim=1) /= this_image ()+2)  &
+    .or. ucobound (a%caf, dim=1) /= num_images ()+2)  &
   STOP 2
 deallocate (a%caf)
 end


                 reply	other threads:[~2020-12-06  9:17 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=20201206091721.34A59385DC14@sourceware.org \
    --to=tkoenig@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).