[Bug fortran/47775] Wrong code with allocatable function RESULT and GENERIC interfaces

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 18 11:41:00 GMT 2011


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

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> 2011-02-18 11:06:14 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > Janus, Paul: Do you think the patch in comment 5 (with added "||") is OK? Or
> > does one need to take care about thinks like intrinsics, proc-pointer
> > (components) and type-bound procedures?
> 
> Well, it will surely not handle PPCs (and TBPs). Normal proc-pointers should be
> ok, I guess. Maybe 'gfc_expr_attr' will help here?

Tobias and Janus,

I think that Janus's remarks are correct - especially wrt to gfc_expr_attr.

Paul



More information about the Gcc-bugs mailing list