This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33097] Function decl trees without proper argument list
- From: "asl at math dot spbu dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2007 10:17:03 -0000
- Subject: [Bug fortran/33097] Function decl trees without proper argument list
- References: <bug-33097-14919@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from asl at math dot spbu dot ru 2007-10-17 10:17 -------
(In reply to comment #3)
> Confirmed. The same thing is true for external procedures, like:
>
> program test
> real x
> external x
> print *, x(2)
> end program test
>
> real function x(i)
> integer i
> x = i + 1
> end function x
>
This isn't so bad, because decl for x is emitted as vararg function and thus
tree is not bogus
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33097