This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Add fortran dir specific format attribute "gcc_gfc"


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]