[Bug fortran/41911] Unnecessary copying of array descriptors
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 2 21:37:00 GMT 2009
------- Comment #2 from burnus at gcc dot gnu dot org 2009-11-02 21:37 -------
There is one potential issue with the bounds. In the callee the lower bounds
start at 1, unless something special is specified. However, one could think of
using an array descriptor for trans-decl.c which replaces the collection of
variables. Then one can simply pass the descriptor on:
(descriptor) a -> (descriptor) a.0
call two (&a.0)
instead of
(descriptor) a.data -> a.0; a.* -> *.0
*.0 -> parm.*
call two(&parm)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41911
More information about the Gcc-bugs
mailing list