[Bug fortran/24633] MODULE attribute conflicts with PROCEDURE attribute

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 2 13:15:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list