------- Comment #3 from kargl at gcc dot gnu dot org  2009-10-15 14:13 -------
(In reply to comment #2)
> (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()...

The manual is fine the way it is currently written, but I'll
update it to be more specific that REAL means REAL(4).  OTOH,
I would suggest that you update all your codes to use the 
standard conforming CPU_TIME function.


-- 


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

Reply via email to