On Tue, Dec 03, 2024 at 10:34:34AM +0100, Tobias Burnus wrote:
> --- a/gcc/testsuite/c-c++-common/gomp/allocate-18.c
> +++ b/gcc/testsuite/c-c++-common/gomp/allocate-18.c
> @@ -17,14 +17,14 @@ typedef enum omp_allocator_handle_t
>
> void test0 ()
> {
> - int A1[5];
> + int A1[5], B1[1];
I'd use B1[5], just in case some target has the alignment dependent on
the size of the array.
> --- a/gcc/testsuite/c-c++-common/gomp/allocate-19.c
> +++ b/gcc/testsuite/c-c++-common/gomp/allocate-19.c
> @@ -19,14 +19,14 @@ typedef enum omp_allocator_handle_t
> __omp_allocator_handle_t_max__ = __UINTPTR_MAX__
> } omp_allocator_handle_t;
>
> -static int A1[5] = {1,2,3,4,5};
> +static int A1[5] = {1,2,3,4,5}, B1[1];
And here too.
Otherwise LGTM.
Jakub