https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41911
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Last reconfirmed|2009-11-0
--- 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".)
--
--- 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
--- 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
--- 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
--
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