This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30107] improve diagnostic of RECURSIVE LOGICAL SUBROUTINE
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jul 2007 13:36:55 -0000
- Subject: [Bug fortran/30107] improve diagnostic of RECURSIVE LOGICAL SUBROUTINE
- References: <bug-30107-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from dfranke at gcc dot gnu dot org 2007-07-05 13:36 -------
An attempt is made to match it as a variable declaration which fails because
LOGICAL SUBROUTINE foo
either misses th '::' or a ',' between SUBROUTINE and FOO resulting in a
"Syntax error in data declaration". Matching as subroutine, as intended won't
work either as subroutines must not have a type.
I agree on WONTFIX. Closing.
--
dfranke at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30107