This is the mail archive of the
mailing list for the GNU Fortran project.
Re: [patch,fortran] Support type real for count_rate in system_clock (PR28484)
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Fri, 27 Oct 2006 21:00:59 -0700
- Subject: Re: [patch,fortran] Support type real for count_rate in system_clock (PR28484)
- References: <45428A72.firstname.lastname@example.org>
On Sat, Oct 28, 2006 at 12:38:42AM +0200, Tobias Burnus wrote:
> :ADDPATCH fortran:
> This patch adds support for using a real variable for count_rate in
> system_clock as allowed since Fortran 2003.
> I only added support for real(4) and real(8). If needed be, one can also
> add real(10) and real(16) -- and integer(16), but I don't see any need
> for it.
You'll need to implement the real(10), real(16), and integer(16)
versions. If gfortran (on some target) provides any or all of
these types, then we need intrinsic procedures.
This is a bug with many of the intrinsics procedures because
the procedures predate gfortran's ability to do these kind
FX mentioned that he wanted to clean up the library. We should
make sure all the intrinsics are implemented for all of the