[og12] 'gfortran.dg/gomp/allocate-4.f90' -> 'libgomp.fortran/allocate-5.f90' (was: [PATCH 1/5] [gfortran] Add parsing support for allocate directive (OpenMP 5.0))

2023-02-09 Thread Thomas Schwinge
Hi! On 2022-01-13T14:53:16+, Hafiz Abid Qadeer wrote: > [...] > --- /dev/null > +++ b/gcc/testsuite/gfortran.dg/gomp/allocate-4.f90 > + use omp_lib Pushed to devel/omp/gcc-12 branch commit 7e1963a4e6ac97b6629c1e9e858ae28487f518cf "'gfortran.dg/gomp/allocate-4.f90' ->

Re: [og12] Fix 'omp_allocator_handle_kind' example in 'gfortran.dg/gomp/allocate-4.f90' (was: [PATCH 1/5] [gfortran] Add parsing support for allocate directive (OpenMP 5.0).)

2023-02-01 Thread Tobias Burnus
Hi Thomas, On 01.02.23 12:59, Thomas Schwinge wrote: + ! Don't do this (..., but it does pass the checks). + !$omp allocate (var1) allocator(10_omp_allocator_handle_kind) ! { dg-bogus "Expected integer expression of the 'omp_allocator_handle_kind' kind" } + allocate (var1(x)) + + !

[og12] Fix 'omp_allocator_handle_kind' example in 'gfortran.dg/gomp/allocate-4.f90' (was: [PATCH 1/5] [gfortran] Add parsing support for allocate directive (OpenMP 5.0).)

2023-02-01 Thread Thomas Schwinge
Hi! On 2022-01-13T14:53:16+, Hafiz Abid Qadeer wrote: > Currently we only make use of this directive when it is associated > with an allocate statement. These changes (or a variant thereof; haven't checked) are present on devel/omp/gcc-12 branch as commit

Re: [PATCH 1/5] [gfortran] Add parsing support for allocate directive (OpenMP 5.0).

2022-10-11 Thread Jakub Jelinek via Gcc-patches
On Thu, Jan 13, 2022 at 02:53:16PM +, Hafiz Abid Qadeer wrote: > Currently we only make use of this directive when it is associated > with an allocate statement. Sorry for the delay. I'll start with a comment that allocate directive in 5.0/5.1 for Fortran is a complete mess that has been

[PATCH 1/5] [gfortran] Add parsing support for allocate directive (OpenMP 5.0).

2022-01-13 Thread Hafiz Abid Qadeer
Currently we only make use of this directive when it is associated with an allocate statement. gcc/fortran/ChangeLog: * dump-parse-tree.c (show_omp_node): Handle EXEC_OMP_ALLOCATE. (show_code_node): Likewise. * gfortran.h (enum gfc_statement): Add ST_OMP_ALLOCATE.