Language lawyer question

Salvatore Filippone sfilippone@uniroma2.it
Tue Feb 15 14:25:00 GMT 2005


Oooops, I forgot: 
i=65

(Otherwise the rest of the code doesn't make much sense)

Il mar, 2005-02-15 alle 15:21, François-Xavier Coudert ha scritto:
> > With gfortran on i686 linux I get ik1=1 and huge(ik1)=127, after the
> > assignment  I get i=-125, and yet the do loop is executed.
> 
> As a non-language lawyer, the only part of answer I can bring is 
> experimental: On most compilers I tested, the do-loop is executed once. 
> Exceptions are g95 (do-loop not executed) and pgf90 (do-loop executed a huge 
> number of times).
> 
> FX
-- 
Salvatore Filippone
Dip. Ingegneria Meccanica, Universita' di Roma "Tor Vergata", 
Viale del Politecnico 1, 00133,  Roma, Italy               
tel: +39-062026017 / +39-0672597558    fax: +39-062021351
Cell.: (+39) 320 7983524    e-mail:  salvatore.filippone@uniroma2.it 
homepage: http://www.ce.uniroma2.it/people/filippone.html

"..ma misi me per l'alto mare aperto..." Dante



More information about the Fortran mailing list