[J3] [EXTERNAL] Re: type definitions
Clune, Thomas L. (GSFC-6101)
thomas.l.clune at nasa.gov
Thu Aug 11 12:30:02 UTC 2022
Hopefully we at least disallow:
PROGRAM MAIN
REAL(KIND=KIND(X)) X
END
From: J3 <j3-bounces at mailman.j3-fortran.org> on behalf of j3 <j3 at mailman.j3-fortran.org>
Reply-To: j3 <j3 at mailman.j3-fortran.org>
Date: Wednesday, August 10, 2022 at 10:52 PM
To: j3 <j3 at mailman.j3-fortran.org>
Cc: Vipul Parekh <parekhvs at gmail.com>
Subject: [EXTERNAL] Re: [J3] type definitions
On Wed, Aug 10, 2022 at 6:28 PM Robert Corbett via J3 <j3 at mailman.j3-fortran.org<mailto:j3 at mailman.j3-fortran.org>> wrote:
Is the program
PROGRAM MAIN
TYPE T
REAL(KIND=KIND(X)) Y
END TYPE T
END
standard conformant?
What about the program
PROGRAM MAIN
DOUBLE PRECISION X
TYPE T
REAL(KIND=KIND(X)) X
END TYPE T
END
Hi Bob,
For whatever it's worth, I think both the programs conform for I am unable to place any text in the standard that would indicate to me these two programs do not conform. Besides, two processors I tried did not detect any nonconformance.
Whenever you're ready, you can post the text you think is missing!
Regards,
Vipul Parekh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220811/5ba0aaa3/attachment.htm>
More information about the J3
mailing list