This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
[gfortran,patch] Allow dollars everywhere in I/O format
- From: FX Coudert <fxcoudert at gmail dot com>
- To: gfortran List <fortran at gcc dot gnu dot org>, gcc-patches patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Nov 2006 23:32:35 +0100
- Subject: [gfortran,patch] Allow dollars everywhere in I/O format
Hi all,
Attached patch fixes PR fortran/24285 by relaxing a constrain on the
$ format descriptor, which is a GNU extension. It was specified in
the g77 doc that $ is only allowed at the end of the format, but g77
actually compiles code with $ anywhere in a format. The patch relaxes
this constraint by simply issuing a warning when a $ when needed.
Bootstrapped and regtested on x86_64-linux, OK for mainline? OK for
4.2? (after all, it's a regression wrt g77)
Attachment:
pr24285.diff
Description: Binary data