This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [PATCH] libfortran/29121 -- Add real(10) and real(16) cpu_time routines


On Fri, Sep 29, 2006 at 11:40:53PM +0200, FX Coudert wrote:
> >I don't know a portable way to test cpu_time.
> 
> I was thinking about simply a compile & linking test, with cpu_time  
> called for both real and double precision, as well as a large real  
> kind if available. Getting actual values from cpu_time would be, as  
> you say, a pain.
> 

Ah, I see.  I think that such a test is of very limited usefulness.
In the end, gfortran is being used by more and more people, so
problems with intrinsic procedures will be caught.  Once fixed
it shouldn't regress.  Of course, if someone wants to write 
compile and link test for *every* intrinsic procedure that 
gfortran supports, I won't object. 

-- 
Steve


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