https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77973
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 39890 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39890&action=edit gcc7-pr77973.patch The fortran omp_finish_clause langhook indeed can add (more than one actually) OMP_CLAUSE_MAP clause where OMP_CLAUSE_SIZE is a decl which indeed needs to be noticed. Untested fix.