https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91762
Bug ID: 91762 Summary: OpenMP omp target exit data directive not working with gfortran Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp Assignee: unassigned at gcc dot gnu.org Reporter: edoardo.apra at pnnl dot gov CC: jakub at gcc dot gnu.org Target Milestone: --- Host: x86_64 Target: nvptx-none Build: x86_64 Created attachment 46879 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46879&action=edit Fortran code to test the OpenMP directive target exit data map(release) The attached test program tests the OpenMP directive target exit data map(release). While a similar C code compiled with gcc shows no execution problem, the compilation with gfortran results in the error code "libgomp: GOMP_target_enter_exit_data unhandled kind 0x04" Here are the instructions for running the attached test code and its only ouput gfortran -fopenmp example1.f ; ./a.out libgomp: GOMP_target_enter_exit_data unhandled kind 0x04