This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33997] Generic interface: Rejects non-ambiguous interface as ambiguous
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2007 17:26:53 -0000
- Subject: [Bug fortran/33997] Generic interface: Rejects non-ambiguous interface as ambiguous
- References: <bug-33997-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jv244 at cam dot ac dot uk 2007-11-06 17:26 -------
> I had come to the same conclusion overnight - it is odd that procedures are not
> distinguished from non-procedures but there we are
there is nothing odd about that
PROGRAM TEST
INTEGER I
CALL F(I)
END PROGRAM TEST
INTEGER FUNCTION I()
END FUNCTION
how can the compiler know at compile time that 'I' is a variable or a function
?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33997