This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20851] dummy argument may not appear in specification expression in elemental procedure
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2007 15:43:14 -0000
- Subject: [Bug fortran/20851] dummy argument may not appear in specification expression in elemental procedure
- References: <bug-20851-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tobi at gcc dot gnu dot org 2007-03-26 16:43 -------
This is one of the additional constraints given in 12.7.1 of the F95 standard:
A dummy argument, or a subobject thereof, shall not appear in
aspecification-expr
except as the argument to one of the intrinsic functions BIT_SIZE, KIND, LEN,
or the numeric inquiry functions (13.11.8).
The functions in 13.11.8 are: DIGITS, EPSILON, HUGE, MAXEXPONENT, MINEXPONENT,
PRECISION, RADIX, RANGE, TINY.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tobi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20851