This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18022] problem with structure and calling a function
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2005 17:45:53 -0000
- Subject: [Bug fortran/18022] problem with structure and calling a function
- References: <20041015190149.18022.gruel@astro.ufl.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2005-07-09 17:45 -------
(In reply to comment #13)
Sorry, the code I posted for illustration had a typo:
> Say,
> type a
> real*8 :: x
> integer*1 :: i
> end type
> type(a), target :: v(50)
> real, pointer :: p(:)
^^^ should be REAL*8
> p => v(:)%x
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18022