This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40176] Fortran 2003: Procedure pointers with array return value
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2009 14:13:15 -0000
- Subject: [Bug fortran/40176] Fortran 2003: Procedure pointers with array return value
- References: <bug-40176-16146@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from janus at gcc dot gnu dot org 2009-05-17 14:13 -------
-fdump-parse-tree yields:
triple (struct array1_real(kind=4) & __result, real(kind=4) & a, real(kind=4) &
b)
{
...
}
real(kind=4) (*<T3e0>) (real(kind=4) &, real(kind=4) &) f;
f = (real(kind=4) (*<T3e0>) (real(kind=4) &, real(kind=4) &)) triple;
So it seems like something goes wrong in the declaration of 'f', (which should
be equal to 'triple')?!?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40176