[Bug fortran/41022] [F03] problem with procedure pointers

janus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Aug 10 13:41:00 GMT 2009



------- Comment #3 from janus at gcc dot gnu dot org  2009-08-10 13:41 -------
Actually the part of the dump shown in comment #2 is ok. The problematic piece
is this:

transfer_proc_ptr (struct container_t & obj2, struct container_t & obj1)
{
  [...]
  assign_proc_ptr (obj2->proc, (struct container_t *) obj1);
}

Here the obj2->proc is missing an "&".


-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.5.0] problem with        |[F03] problem with procedure
                   |procedure pointers          |pointers


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41022



More information about the Gcc-bugs mailing list