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]

Implicit none with -std=gnu [was: Re: Speed comparison with Intel compiler]


> 
> Additional bad news:
>       IMPLICIT NONE
>       character*99 a
>       integer b
>       a="123"
>       read(a(1:lnblnk(a)),*) b
>       print*,b
>       end
>     gfortran does not warn about the not declared "lnblnk".
>     I will file a report.
> 

Hmm, this seems to be on purpose. gfortran throws an error
with -std=g95, but no warning with -std=gnu.
g77 accepts intrinsic functions without declaration as well.
Sorry for the noise.

Manfred

PS: yes I know, len_trim would be more standards conforming than lnblnk.
-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


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