[Bug fortran/33997] Generic interface: Rejects non-ambiguous interface as ambiguous

jv244 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Tue Nov 6 17:27:00 GMT 2007



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



More information about the Gcc-bugs mailing list