RFC: PR 22552 and PR 39171

Daniel Kraft d@domob.eu
Wed Dec 16 15:11:00 GMT 2009


Hi all,

first of all sorry that I could not attend the online meeting on Sunday; 
I was in hospital, but am now back home (and hopefully everything is fine).

Here are two bugs I'd like "group opinion" on (I wanted to mention this 
on the meeting, so here is the late version).

Thanks a lot!

Daniel

-------- Original Message --------
Subject: RFC: PR 22552 and PR 39171
Date: Mon, 10 Aug 2009 13:07:55 +0200
From: Daniel Kraft <d@domob.eu>
To: Fortran List <fortran@gcc.gnu.org>

Hi all,

PR 22552 and PR 39171 are two reports I just stumbled upon again, and I
think we could try to find a result...  Comments welcome!

PR 22552:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22552
This is about adding a warning (presumably -Wimplicit-procedure) when a
"undeclared" procedure is called.  Similar to -Wimplicit-interface, but
this warning would also be content with an EXTERNAL declaration or
defining the type for a function, even if no interface is explicitly
given.  FX provided a patch and I did develop it further to a state
where it can, if you think this warning reasonable, checked-in directly.
  What do you think, should we do this?  Otherwise I'll mark the PR as
WONTFIX.

PR 39171:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39171
When something like CHARACTER(LEN=-1) (negative charlength) is declared,
there's currently a warning which is quite misleading, though (as it
states the character length is zero; for actual zero length however, no
warning is issued at all).  From a standard's point of view, a negative
charlength is fine and will be treated like LEN=0; but I think a warning
is a good idea in this case; and we should in any case fix the old
misleading warning.  Do you think we should warn always or only with
some -W... flag?  I'm willing to work out a patch for this if we get an
agreement on what exactly to do here.

Thanks!

Daniel

-- 
Done:  Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri


-- 
Done:  Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz
To go: Hea-Kni-Mon-Pri



More information about the Fortran mailing list