[Patch] Fortran/OpenMP: Fix -fopenmp-simd for 'omp assume(s)'

2023-02-09 Thread Tobias Burnus
Found by chance recently; I thought about a couple of ways to handle it but then settled to the proposed solution. OK for mainline? Tobias - Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsfüh

Re: [Patch] Fortran/OpenMP: Fix -fopenmp-simd for 'omp assume(s)'

2023-02-09 Thread Jakub Jelinek via Fortran
On Thu, Feb 09, 2023 at 09:56:09AM +0100, Tobias Burnus wrote: > Found by chance recently; I thought about a couple of ways to handle it > but then settled to the proposed solution. > > OK for mainline? > > Tobias > - > Siemens Electronic Design Automation GmbH; Anschrift: Arnulfs

[og12] 'c-c++-common/gomp/alloc-pinned-1.c' -> 'libgomp.c-c++-common/alloc-pinned-1.c' (was: [PATCH 5/5] openmp: -foffload-memory=pinned)

2023-02-09 Thread Thomas Schwinge
Hi! On 2022-03-08T11:30:59+, Hafiz Abid Qadeer wrote: > From: Andrew Stubbs > > [...] > --- /dev/null > +++ b/gcc/testsuite/c-c++-common/gomp/alloc-pinned-1.c > @@ -0,0 +1,28 @@ > +/* { dg-do run } */ Pushed to devel/omp/gcc-12 branch commit 9c0ffa3776a135a69697253a0bd75ebf9b9d0150 "'c-c++

[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' -> 'libgomp.fortran/allo

Re: [Patch][v2] OpenMP/Fortran: Partially fix non-rect loop nests [PR107424]

2023-02-09 Thread Tobias Burnus
Updated patch. Changes: the canonic(al) and the if/else(if) cosmetic formatting changes. Testcases: Additionally, I checked for the value of a zero-loop trip in libgomp.fortran/non-rectangular-loop-1.f90 and added lastprivate to all of .../non-rectangular-loop-{3,4}.f90 (unless the loop-iteration

Re: [Patch][v2] OpenMP/Fortran: Partially fix non-rect loop nests [PR107424]

2023-02-09 Thread Jakub Jelinek via Fortran
On Thu, Feb 09, 2023 at 03:46:35PM +0100, Tobias Burnus wrote: > I think the test coverage should be sufficient. Any further test idea? > Otherwise, I would commit it now. LGTM, thanks. Jakub

[PATCH, committed] Fortran: catch invalid kind in character conversion [PR69636,PR103779]

2023-02-09 Thread Harald Anlauf via Fortran
Dear all, the attached trivial and obvious patch replaces an internal error on encountering an invalid kind in a character conversion by a regular error recovery. Pushed after regtesting on x86_64-pc-linux-gnu as r13-5760-ga618b45ac41cf480f54c4fa4014aed6218931290 Thanks, Harald From a618b45ac41

Support for NOINLINE attribute

2023-02-09 Thread Rimvydas Jasinskas via Fortran
Hello everyone, would it be possible to extend gfortran attribute support to handle NOINLINE too? Like: "!GCC$ ATTRIBUTES noinline :: ...". Recent testing with gcc-13 trunk uncovered several issues with LTO usage and for now it is unknown if it is host specific or something else. Given that ther