]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgomp: Only check for 2*sizeof(void*) int type with Fortran [PR96661]
authorTobias Burnus <tobias@codesourcery.com>
Tue, 28 Sep 2021 13:15:47 +0000 (15:15 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 28 Sep 2021 13:15:47 +0000 (15:15 +0200)
commit1f0a57bd54aed558e0167016dd980177f88f8480
tree53a49d1b9380e142810cf114ba5f276acf89ed74
parent92cdd338fdbfd33f72e645af1caaa1a357fe9839
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.
libgomp/configure
libgomp/configure.ac