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/41712] ETIME not useable with -fdefault-real-8



------- Comment #2 from anlauf at gmx dot de  2009-10-15 08:47 -------
(In reply to comment #1)
> The manual reads:
> 
> VALUES  The type shall be REAL, DIMENSION(2). 
> 
> where I understand REAL as REAL(4). Hence if you want to use -fdefault-real-8,
> you have to avoid the "promotion" of the ETIME argument by using
> 
>   real(4) :: t(2)

Actually, the current manual does explicitly state REAL(4)
e.g. for the extension SECNDS(), but not (yet) for ETIME().

So either the gfortran documentation needs to be fixed
or my legacy code using ETIME()...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41712


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