This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20904] optional argument in specification expression
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 May 2005 17:58:48 -0000
- Subject: [Bug fortran/20904] optional argument in specification expression
- References: <20050408160653.20904.jv244@cam.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jv244 at cam dot ac dot uk 2005-05-19 17:58 -------
(In reply to comment #1)
> I get this error:
> [tobi@marktplatz tests]$ ~/src/gcc-new/build/gcc/f951 pr20904.f90
> In file pr20904.f90:3
>
> character(len=arg) :: s
> 1
> Error: Dummy argument 'arg' at (1) cannot be OPTIONAL
>
>
Which is fine indeed. I might have been using a pre 4.0.0 version of gfortran..
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20904