This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Implicit none with -std=gnu [was: Re: Speed comparison with Intel compiler]
- From: "Manfred Schwarb" <manfred99 at gmx dot ch>
- To: "Manfred Schwarb" <manfred99 at gmx dot ch>, fortran at gcc dot gnu dot org, jellby at yahoo dot com
- Date: Fri, 06 Apr 2007 23:38:30 +0200
- Subject: Implicit none with -std=gnu [was: Re: Speed comparison with Intel compiler]
- References: <253767.5825.qm@web33004.mail.mud.yahoo.com> <20070406205820.240720@gmx.net>
>
> 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