OpenMP, Fortran: Bugfix for omp_set_num_teams.
authorMarcel Vollweiler <marcel@codesourcery.com>
Wed, 16 Mar 2022 14:38:54 +0000 (07:38 -0700)
committerMarcel Vollweiler <marcel@codesourcery.com>
Wed, 16 Mar 2022 14:38:54 +0000 (07:38 -0700)
commitbe093b8dcc9cf5c9f99479ec68f1abe95aa38a83
treeb400884c103b398c5ce2cf6adb0eae08c14b9e6c
parent3117ffce4c1598a35e724138735b099262353358
OpenMP, Fortran: Bugfix for omp_set_num_teams.

This patch fixes a small bug in the omp_set_num_teams implementation.

libgomp/ChangeLog:

* fortran.c (omp_set_num_teams_8_): Call omp_set_num_teams instead of
omp_set_max_active_levels.
* testsuite/libgomp.fortran/icv-8.f90: New test.
libgomp/fortran.c
libgomp/testsuite/libgomp.fortran/icv-8.f90 [new file with mode: 0644]