https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47469
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-10-13 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- 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?