https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98007
Bug ID: 98007 Summary: [OpenACC] 'gcc/cp/semantics.c:finish_return_stmt' should consider 'flag_openacc' in addition to 'flag_openmp' for 'gcc/cp/decl.c:check_omp_return'? Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openacc 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: --- Need to locate relevant OpenMP testcases, and verify/translate them for OpenACC. Is this related to PR98006 "[OpenACC] 'gcc/cp/decl.c:check_goto' should consider 'flag_openacc' in addition to 'flag_openmp'?" Relatedly, how does this C++ front end checking relate to the middle end checking done in 'gcc/omp-low.c:pass_diagnose_omp_blocks'?