Efficiency of different ways representing temporary arrays for derived types
Thomas Koenig
tkoenig@netcologne.de
Thu Jan 31 21:09:00 GMT 2013
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
More information about the Fortran
mailing list