https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47469

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #1)
> On trunk (6.0 r228753) this has been changed to
> 
>   /* Functions returning pointers or allocatables need temporaries.  */
>   c = expr2->value.function.esym
>       ? (expr2->value.function.esym->attr.pointer
>          || expr2->value.function.esym->attr.allocatable)
>       : (expr2->symtree->n.sym->attr.pointer
>          || expr2->symtree->n.sym->attr.allocatable);
>   if (c)
>     return true;
> 
> Any point to keep this PR opened?

Tobias' version is prettier! Does it apply without regressions?

Cheers

Paul

Reply via email to