[Bug fortran/24520] Temporary constant array descriptors being declared at wrong binding level.
paul dot richard dot thomas at cea dot fr
gcc-bugzilla@gcc.gnu.org
Thu Mar 16 08:38:00 GMT 2006
------- Comment #5 from paul dot richard dot thomas at cea dot fr 2006-03-16 08:38 -------
Yes, it is not quite as spectacular as before but present nonetheless. By
comparing pointer and non-pointer cases, I measure an overhead of 12 +/- 7 ns
on a 2.4Ghz PIV. I have no idea why the error is so large but it bobs around,
according to the size of the array; eg. for array size N = 1, it is 19ns, for N
= 16 is 16ns, whilst n = 4 is only hit for 6ns.
In preparing the array TRANSFER intrinsic, I have learned more about parameter
passing than I like to think about. *sigh* I think it might be an easy matter
to promote the case of a constant descriptor up to the procedure scope. I t
has been pushed onto the TODO stack.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24520
More information about the Gcc-bugs
mailing list