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/33097] Function decl trees without proper argument list



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


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