This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25707] support for Fortran 2003 USE statements, INTRINSIC and NONINTRINSIC
- From: "jb at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jan 2006 18:09:01 -0000
- Subject: [Bug fortran/25707] support for Fortran 2003 USE statements, INTRINSIC and NONINTRINSIC
- References: <bug-25707-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jb at gcc dot gnu dot org 2006-01-07 18:09 -------
Actually, you got the syntax slightly wrong (sorry for not noticing it right
away).
The standard (and from my reading of the ibm docs it seems that they agree with
the standard) specifices the use statement as
use [[, module-nature] ::] module-name [etc...]
where module-nature is either intrinsic or non_intrinsic. That is, if
module-nature is specified the ',' and '::' are mandatory, so the statement in
comment #1 must be of the form
use, intrinsic :: iso_fortran_env
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25707