This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR25087 - Error for missing explicit interface needed.
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Fortran List <fortran at gcc dot gnu dot org>
- Date: Sat, 18 Nov 2006 21:08:29 +0100
- Subject: Re: [Patch, fortran] PR25087 - Error for missing explicit interface needed.
- References: <455B54F4.7010600@wanadoo.fr> <455B556D.2020603@wanadoo.fr>
2006-11-15 Paul Thomas <pault@gcc.gnu.org>
PR fortran/25087
* resolve.c (resolve_fl_procedure): Add an error if an external
automatic
character length function does not have an explicit interface.
OK for mainline and 4.2. I'd say it's not fit to go into 4.1, but if
other people (including you, Paul) have a different opinion, I don't
feel strongly against it.
The only remark that I would make concerns the adequacy of using
the presence of an automatic arglist for detecting a formal
interface. One recent fix had to be done because procedures
without dummies have formal == NULL. However, since this involves
an external automatic character length, there must be at least one
dummy :-)
Maybe it's worth adding a comment?
Thanks,
FX