This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/16509] gfortran rejects "REAL R(2) /2*1.0/"


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]