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: Efficiency of different ways representing temporary arrays for derived types


Hi Harald,

It appears that the second case, where the temporary is created
"on the fly", does more work than necessary, i.e. apparently twice
as much as in the first case.  Should I expect this?

Gfortran usually generates a temporary array whenever an array constructor is used. When trunk reopens, I will take a stab at solving some of these issues. By the way, part of this is tracked in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55839 .

Thomas


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