https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96661
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Tobias Burnus <bur...@gcc.gnu.org>: https://gcc.gnu.org/g:8e7da0da76fc6c2ef19635bc5dd507789965da33 commit r11-9036-g8e7da0da76fc6c2ef19635bc5dd507789965da33 Author: Tobias Burnus <tob...@codesourcery.com> Date: Tue Sep 28 15:15:47 2021 +0200 libgomp: Only check for 2*sizeof(void*) int type with Fortran [PR96661] The depend type is a struct with two pointer members for C/C++ - but for Fortran OpenMP requires an integer type with kind = omp_depend_kind. Thus, libgomp's configure checks that an integer type/kind with size 2*sizeof(void*) is available. However, this integer type/kind is not needed when building without Fortran support. Thus, only check this when Fortran is enabled. libgomp/ PR libgomp/96661 * configure.ac: Only check for int-type = 2*size_t support when building with Fortran support. * configure: Regenerate. (cherry picked from commit 1f0a57bd54aed558e0167016dd980177f88f8480)