This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/24633] MODULE attribute conflicts with PROCEDURE attribute
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2005 13:15:31 -0000
- Subject: [Bug fortran/24633] MODULE attribute conflicts with PROCEDURE attribute
- References: <bug-24633-11632@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-02 13:15 -------
Full testcase:
module abc
contains
function abc()
i=1
end function
end module
There is actually two problems here, the first is the message about the
conflicts is not very clear. The second issue is that the error recovery is
not really good in that we don't really enter a function scope (sorry I am
using C terms, I don't know a better way of describing the issue).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-11-02 13:15:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24633