[Bug libgomp/125951] libgomp.c/omp-get-device-distances.c FAILs
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 24 04:31:37 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125951
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tobias Burnus <burnus@gcc.gnu.org>:
https://gcc.gnu.org/g:23aa47659828ae13898b76b1516f17fef8562a7e
commit r17-1793-g23aa47659828ae13898b76b1516f17fef8562a7e
Author: Tobias Burnus <tburnus@baylibre.com>
Date: Wed Jun 24 06:30:25 2026 +0200
libgomp: Handle omp_default_device in the fallback case [PR125951]
Support for omp_default_device was added before the commit
r17-1702-g8af1592882509f for the Linux case, but for the fallback
case, it was missed - such that the testcase failed on all
non-Linux systems.
libgomp/ChangeLog:
PR libgomp/125951
* target.c (omp_get_device_distances): Handle omp_default_device
in the fallback code.
More information about the Gcc-bugs
mailing list