This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/41712] New: ETIME not useable with -fdefault-real-8
- From: "anlauf at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Oct 2009 07:20:28 -0000
- Subject: [Bug fortran/41712] New: ETIME not useable with -fdefault-real-8
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hi,
all gfortran versions from 4.1.x thru 4.5 refuse to compile the
following program with -fdefault-real-8:
program gfcbug90
real :: t(2)
print *, etime (t)
end program gfcbug90
% gfc4x gfcbug90.f90 -fdefault-real-8
gfcbug90.f90:3.18:
print *, etime (t)
1
Error: 'x' argument of 'etime' intrinsic at (1) must be of kind 4
No problem with e.g. ifort or sunf95.
Cheers,
-ha
--
Summary: ETIME not useable with -fdefault-real-8
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41712