[Bug c++/98007] New: [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'?

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 26 10:45:00 GMT 2020


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'?


More information about the Gcc-bugs mailing list