This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/16509] gfortran rejects "REAL R(2) /2*1.0/"
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jul 2004 04:42:34 -0000
- Subject: [Bug fortran/16509] gfortran rejects "REAL R(2) /2*1.0/"
- References: <20040713034447.16509.billingd@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2004-07-13 04:42 -------
G77 supports the method of enumerating the KIND of the different
data types. That is, REAL(1) is default REAL KIND or single precision
or REAL(4) in gfortran. REAL(2) is double precision or REAL(8) in
gfortran. For the REAL type, gfortran only supports REAL(4) and REAL(8),
so we can map REAL(1) an REAL(2) to the appropriate data type. Unfortunately,
we can't deal with the G77 enumeration of LOGICAL and INTEGER without a
-fkind=enumerate or -fkind=byte option.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16509