This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/40176] Fortran 2003: Procedure pointers with array return value



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]