This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: rfc: multiple decls for functions


On Friday 19 December 2008 23:32:02 FX wrote:
> That is, the decl created for f in:
>
>      subroutine test(x)
>        integer x(1)
>      end subroutine test
>
> is different from the one created when translating:
>
>      integer x(1)
>      call test(x)
>
> One has GFC_ARRAY_TYPE_P for its argument and the other doesn't.

Dear FX,

I wondered about this, i.e. the more general case of additional information of 
any kind that becomes available later in the file, and assumed that it should 
be possible to tack on additional things to an existing decl?!

I haven't looked into details yet, I wanted to learn about possible pitfalls 
first - this is one then of them.

Could you elaborate a bit on the "file-scope resolution"? Seems I missed your 
point there?!

Thanks!

	Daniel


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