This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

[RFC] possible approach to fix fortran/pr21061


Hello,

Attached patchlet would fix pr21061.

Two short questions:
(1) Is the path taken in this patch ok?

(2) There are a couple of warning() invocations, which obviously do not
use gfc_{warning,error}() but the generic ones from C et al. The second
part of attached patch does correct all except one occurance of
"warning()" in trans-decl.c. My question is, is it ok to remove these
warning() calls in favour of using the gfc_() ones? This would make the
warning and error diagnostics more consistent, imho.


Opinions?

PS: if (1) is ok, then i'll clean it up and submit proper.
TIA,
Bernhard

Attachment: gcc.gfortran.pr21061.1.diff
Description: Text document


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