This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Change gcc/c-format.c to add new specifiers to the Fortran front-end format
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: gcc-patches list <gcc-patches at gcc dot gnu dot org>, GNU Fortran <fortran at gcc dot gnu dot org>, rth at redhat dot com
- Date: Sat, 11 Aug 2007 23:35:40 +0000 (UTC)
- Subject: Re: [patch] Change gcc/c-format.c to add new specifiers to the Fortran front-end format
- References: <30795A2B-B668-432B-B924-BD6B6B9DC944@gmail.com>
On Thu, 9 Aug 2007, FX Coudert wrote:
> Hi all,
>
> This patch allows the Fortran front-end to use format specifier %u, as well as
> the l length modifier (for formats %lu, %li and %ld), by modifying
> gcc/c-format.c. This only changes the gcc_gfc format type, which is for use by
> the Fortran front-end, but I still need a review by a C front-end maintainer
> and would welcome a review by a Fortran maintainer for the Fortran part.
>
> Bootstrapped and regtested on x86_64-linux, OK to commit?
The C parts are OK if you also update gcc.dg/format/gcc_gfc-1.c to test
the new formats.
--
Joseph S. Myers
joseph@codesourcery.com