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, fortran] PR 31668: Allow %VAL for module


FX Coudert wrote:
2007-04-24 Tobias Burnus <burnus@net-b.de>

	PR fortran/31668
	* error.c (error_print): Fix %% support.
	* intrinsic.c (sort_actual): Improve error message.
	* resolve.c (resolve_actual_arglist): Allow %VAL for
	interfaces defined in the module declaration part.

It looks OK to me, though I find it a bit corner-case to use a G77 extension only supported for backward compatibility and use it in a F95 context, instead of using a documented standard feature :)

It's also included for compatibility with other compilers, some of which are (I suspect) F95 compilers, and the "documented standard feature" in question is a F2003 feature that almost certainly was not implemented in all of these F95 compilers. So it's got at least a modicum of legitimacy. :)


- Brooks


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