Hi Tobias!
On 2024-10-07T17:07:05+0200, Tobias Burnus <[email protected]> wrote:
> haochen.jiang wrote:
>> On Linux/x86_64,
>> FAIL: gfortran.dg/gomp/allocate-static.f90 -O0 (test for excess errors)
>
> If anyone can reproduce this, I would be interested in the excess errors.
gfortran: fatal error: cannot read spec file 'libgomp.spec': No such file
or directory
> On two machines – with and without offloading configured – I cannot
> reproduce this neither with a bootsstrap nor non-bootstrap build,
> neither with the testsuite nor under valgrind and also not with -m32 vs.
> -m64.
Try again with build-tree (non-installed) testing. ;-)
On 2024-10-07T10:47:56+0200, Tobias Burnus <[email protected]> wrote:
> --- /dev/null
> +++ b/gcc/testsuite/gfortran.dg/gomp/allocate-static.f90
> @@ -0,0 +1,62 @@
> +! { dg-do run }
Implicit linking here.
I already was about to 'git mv' the file into
'libgomp/testsuite/libgomp.fortran/' -- but then realized that we
probably also should get rid of this local 'module omp_lib_kinds':
> +module omp_lib_kinds
> + use iso_c_binding, only: c_int, c_intptr_t
> + implicit none
> + private :: c_int, c_intptr_t
> + integer, parameter :: omp_allocator_handle_kind = c_intptr_t
> +
> + integer (kind=omp_allocator_handle_kind), &
> + parameter :: omp_null_allocator = 0
> + [...]
> +end module
..., right?
> +[...]
Grüße
Thomas