This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Add fortran dir specific format attribute "gcc_gfc"
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: "Kaveh R. Ghazi" <ghazi at caipclassic dot rutgers dot edu>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 3 Jul 2005 00:48:42 +0000 (UTC)
- Subject: Re: [PATCH]: Add fortran dir specific format attribute "gcc_gfc"
- References: <200506291136.j5TBaFUj001165@caipclassic.rutgers.edu>
On Wed, 29 Jun 2005, Kaveh R. Ghazi wrote:
> As we have done with asm_fprintf and the gcc diagnostic routines, we
> can have a custom format attribute to check for errors. Is this
> something the fortran maintainers want?
>
> If so, I've written a patch for mainline to do this. I need a fortran
> maintainer and a C front-end maintainer to review the separate bits.
If the Fortran maintainers want this, then the C parts are OK (though
they'll need updating to apply after my recent changes to the same code).
I do hope the Fortran front end can move in future to using the common
diagnostics support (enhancing that support to provide whatever extra
features Fortran needs), in which case of course the checking support can
be updated when such a move is made. Otherwise there's a lot of
duplicative work in fixing bug 15586 (i18n for gfortran) with implementing
such things as $ operand numbers which the common code now provides for
you.
--
Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/
jsm@polyomino.org.uk (personal mail)
joseph@codesourcery.com (CodeSourcery mail)
jsm28@gcc.gnu.org (Bugzilla assignments and CCs)