public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Dominique d'Humières" <dominiq@lps.ens.fr>
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc: gfortran <fortran@gcc.gnu.org>
Subject: Re: [PATCH] PR fortran/69395 -- don't exceed max allowed array dimensions
Date: Fri, 16 Mar 2018 10:46:00 -0000	[thread overview]
Message-ID: <5260C3DF-899C-4A9D-A8F9-F076E5ACC33A@lps.ens.fr> (raw)

Steve,

With one of my variants I see

pr69395_3_db.f90:2:63:

    real, dimension(1,2,1,2,1,2,1,2), codimension[1,2,1,2,1,2,*] :: z
                                                               1
Error: Sum of array rank 8 and corank 7 at (1) exceeds maximum allowed dimensions of 15

Is this expected or should

	  if (j >= GFC_MAX_DIMENSIONS)

be replaced with

	  if (j > GFC_MAX_DIMENSIONS)

(twice)?

Cheers,

Dominique

             reply	other threads:[~2018-03-16 10:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 10:46 Dominique d'Humières [this message]
2018-03-16 14:49 ` Steve Kargl
  -- strict thread matches above, loose matches on Subject: below --
2018-03-15  1:24 Steve Kargl
2018-03-15 20:21 ` Thomas Koenig
2018-03-16  1:06 ` Jerry DeLisle

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=5260C3DF-899C-4A9D-A8F9-F076E5ACC33A@lps.ens.fr \
    --to=dominiq@lps.ens.fr \
    --cc=fortran@gcc.gnu.org \
    --cc=sgk@troutmask.apl.washington.edu \
    /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).