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

[Bug fortran/24520] Temporary constant array descriptors being declared at wrong binding level.



------- 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


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