[Bug fortran/41911] Unnecessary copying of array descriptors

2021-12-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41911 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2009-11-0

[Bug fortran/41911] Unnecessary copying of array descriptors

2009-11-02 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-11-02 23:32 --- When implemented, updated optional check (cf. PR 41907) and check why rank > 0 && fsym == NULL && sym->attr.intrinsic does not work. (Or in other words, when is an array descriptor passed when "fsym == NULL".) --

[Bug fortran/41911] Unnecessary copying of array descriptors

2009-11-02 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-11-02 22:00 --- Created an attachment (id=18951) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18951&action=view) Example patch for trans-array.c; needs checking. Missing: Patch for trans-decl.c Proposed solution: Create a de

[Bug fortran/41911] Unnecessary copying of array descriptors

2009-11-02 Thread burnus at gcc dot gnu dot org
--- 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

[Bug fortran/41911] Unnecessary copying of array descriptors

2009-11-02 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-11-02 21:23 --- Actually, it is not as simple as it seems. Currently, one gets for subroutine one(a) integer, dimension(:) :: a call two(a) end subroutine one subroutine two(a) integer, dimension(:) :: a end sub

[Bug fortran/41911] Unnecessary copying of array descriptors

2009-11-02 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |burnus at gcc dot gnu dot |dot org