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: [PATCH] Fix fortran creating a huge number of io transfer structs


>        PROGRAM test
>        WRITE(*,*) 'hello'
>        WRITE(*,*) 'world'
>        END
>
> gfortran creates two struct __st_parameter_dt, one for each I/O operation.
> This causes a _huge_ regression in compile time if we ever start to create
> SFTs for those structs

Hum, could we have a pointer to what SFT is? (a google "sft gcc" lead
me to info page
http://gcc.gnu.org/onlinedocs/gccint/Alias-analysis.html, but that's
still not completely obvious to my simple mind...)

> but there's no reason why gfortran cannot share one struct
> __st_parameter_dt per function or at least one per sequence of I/O
> operations.

I wonder how that does interact with the fact asynchronous I/O
(although it's not implemented yet, we still have to think about it).

FX


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