This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/33116] External functions can be called as subroutine



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]