This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32760] Error defining subroutine named PRINT
- 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: 24 Jul 2007 19:53:52 -0000
- Subject: [Bug fortran/32760] Error defining subroutine named PRINT
- References: <bug-32760-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from dfranke at gcc dot gnu dot org 2007-07-24 19:53 -------
Traced it down to primary.c(match_variable). Here, a symbol for PRINT is found
(originating from the PUBLIC-statement). As the current flavour of the symbol
is FL_UNKNOWN, it is set to FL_VARIABLE. The subroutine PRINT then conflicts
with the (nonexistent) variable PRINT ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32760