This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18568] pointers in derived data types do not transmit shape of pointed to arrays - bug or non-standard feature?
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Nov 2004 18:09:20 -0000
- Subject: [Bug fortran/18568] pointers in derived data types do not transmit shape of pointed to arrays - bug or non-standard feature?
- References: <20041119160201.18568.paul.richard.thomas@cea.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-19 18:09 -------
Confirmed, reduced testcase:
MODULE ints
type, PUBLIC :: bar
integer,pointer :: th(:)
end type bar
CONTAINS
FUNCTION foo(b)
TYPE( bar ),INTENT(IN) :: b
integer :: foo(size(b%th ) )
end function foo
END MODULE ints
program size_test
use ints
end program size_test
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code, rejects-
| |valid
Last reconfirmed|0000-00-00 00:00:00 |2004-11-19 18:09:19
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18568