(j3.2006) Construct entities

Malcolm Cohen malcolm
Sat Apr 29 04:13:38 EDT 2017


I don't see the problem.  You are not standard-conforming - COMMON is not 
allowed inside BLOCK.  Therefore your computer turns into an abacus.

Cheers,

-----Original Message----- 
From: Van Snyder
Sent: Saturday, April 29, 2017 5:00 PM
To: j3 at mailman.j3-fortran.org
Subject: Re: (j3.2006) Construct entities

On Sat, 2017-04-29 at 16:34 +0900, Malcolm Cohen wrote:
> why do you care if something is called "a construct entity"?

There's 11.1.7.5p2, for example.

  real :: B
  common /A/ B
  do concurrent ( i=1:10 ) local(B)
    block
      common /A/ B
      asynchronous B
    end block
  end do

Is B local inside the BLOCK  If it's a construct entity of the BLOCK, it
isn't local because it's not a construct entity of the DO CONCURRENT
construct (or is it? I don't know).  If it's not a construct entity of
the BLOCK, it is local.  Does it have the ASYNCHRONOUS attribute?  Yes,
if it's a construct entity of the BLOCK and not of the DO CONCURRENT
construct, no if it's not a construct entity of the BLOCK but is a
construct entity of the DO CONCURRENT construct.




_______________________________________________
J3 mailing list
J3 at mailman.j3-fortran.org
http://mailman.j3-fortran.org/mailman/listinfo/j3

________________________________________________________________________
This e-mail has been scanned for all viruses by Star.
________________________________________________________________________ 




More information about the J3 mailing list