[Bug fortran/33116] External functions can be called as subroutine
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 20 03:59:00 GMT 2007
------- Comment #1 from pault at gcc dot gnu dot org 2007-08-20 03:59 -------
Tobias,
EXTERNAL foo
REAL foo
CALL foo() ! <- wrong
END
with 4.3.0 20070815, gfc gives:
test.f90:1.14:
EXTERNAL foo
1
test.f90:3.23:
CALL foo() ! <- wrong
2
Error: 'foo' at (1) has a type, which is not consistent with the CALL at (2)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33116
More information about the Gcc-bugs
mailing list