https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97996
Bug ID: 97996 Summary: [OMP] Missing 'omp_mappable_type' error diagnostic inside C++ template Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openacc, openmp Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tschwinge at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Created attachment 49628 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49628&action=edit 'map-1_.C' As discussed in <http://mid.mail-archive.com/20201125105244.GB3788@tucnak> (for OpenMP, and now reproduced for OpenACC, too), see XFAILs in attached testcase: missing "error: ‘a’ referenced in target region does not have a mappable type" diagnostics inside C++ template.