http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55476
--- Comment #2 from janus at gcc dot gnu.org 2012-11-26 22:05:23 UTC --- The warning obviously gets triggered because the pointer has the 'host_assoc' attribute (due to its use in the contained subroutine): warn = lvalue->symtree->n.sym->attr.dummy || lvalue->symtree->n.sym->attr.result || lvalue->symtree->n.sym->attr.function || lvalue->symtree->n.sym->attr.host_assoc || lvalue->symtree->n.sym->attr.use_assoc || lvalue->symtree->n.sym->attr.in_common;