[Bug fortran/41712] ETIME not useable with -fdefault-real-8
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Thu Oct 15 08:47:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list