Re: [PATCH, OpenACC, og8] OpenACC kernels control flow analysis bug fix

2019-02-20 Thread Gergö Barany
Ping. Thomas, is this OK for openacc-gcc-8-branch? It would be great if I could commit this before Friday. Thanks, Gergö On 12/02/2019 20:02, Gergö Barany wrote: Hi all, The attached patch fixes a bug in recent work on OpenACC "kernels" regions. Jumps within nested binds or try

[PATCH, OpenACC, og8] Fix incorrect test case

2019-02-19 Thread Gergö Barany
Hi, This patch fixes a broken test case I added in a recent patch: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg01504.html The broken test can segfault due to writing to read-only memory, which this new version avoids. Will apply to the openacc-gcc-8-branch shortly. Thanks, Gergö li

[PATCH, OpenACC, og8] OpenACC kernels control flow analysis bug fix

2019-02-12 Thread Gergö Barany
Hi all, The attached patch fixes a bug in recent work on OpenACC "kernels" regions. Jumps within nested binds or try statements were not analyzed correctly and could lead to ICEs. Tested on x86_64 with offloading to NVPTX. Thanks, Gergö Correctly handle nested bind and try statements in th

Re: [PATCH, OpenACC] Rework computation of default OpenACC mapping clauses

2019-01-29 Thread Gergö Barany
On 28/01/2019 18:00, Thomas Schwinge wrote: On Fri, 25 Jan 2019 15:09:49 +0100, Gergö Barany wrote: OK for openacc-gcc-8-branch? Yes. Thanks, committed along with the other patches I posted at the same time (Rework OpenACC Fortran DO loop initialization, Remove spurious OpenACC error on

[PATCH, OpenACC] Remove spurious OpenACC error on combining "auto" with gang/worker/vector

2019-01-25 Thread Gergö Barany
On OpenACC loop constructs, it is OK according to the OpenACC spec to have both the "auto" clause and one or more of the "gang", "worker", or "vector" clauses. GCC emits errors for this combination; this patch eliminates that error. OK for openacc-gcc-8-branch? Thanks, Gergö gcc/ *

[PATCH, OpenACC] Rework OpenACC Fortran DO loop initialization

2019-01-25 Thread Gergö Barany
This patch moves OpenACC Fortan DO loop setup code from the head of a region to just before each loop. This is in preparation for upcoming patches reworking the handling of OpenACC kernels regions. OK for openacc-gcc-8-branch? Thanks, Gergö gcc/fortran/ * trans-openmp.c (gfc_privatiz

[PATCH, OpenACC] Rework computation of default OpenACC mapping clauses

2019-01-25 Thread Gergö Barany
This patch unifies and simplifies the handling of OpenACC default mapping clauses for parallel, serial, and kernels regions. OK for openacc-gcc-8-branch? Thanks, Gergö gcc/ * gimplify.c (oacc_default_clause): Refactor and unify computation of default mapping clauses. >From 32a38da

[PATCH] Add myself to MAINTAINERS

2018-12-21 Thread Gergö Barany
Hi all, this patch adds me to MAINTAINERS in the Write After Approval section. Will commit to trunk. Thanks, Gergö >From 2b5e62781aadfb5d89f6b11f4c4cb8e5cfe373be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C3=B6=20Barany?= Date: Fri, 21 Dec 2018 09:05:35 -0800 Subject: [PATCH] Add myself to

[PATCH] [og8] Add OpenACC 2.6 if and if_present clauses on host_data construct

2018-12-21 Thread Gergö Barany
OpenACC 2.6 specifies `if' and `if_present' clauses on the `host_data' construct. These patches add support for these clauses. The first patch, by Thomas, reorganizes libgomp internals to turn a "device" argument into "flags" that can provide more information to the runtime. The second patch ad

[PATCH][og8] Update code and reduction tests for `serial' construct

2018-12-21 Thread Gergö Barany
aused the latter to no longer compile. Additionally, new tests for OpenACC reductions in serial regions are added, and the existing ones separated out by region kind (parallel/kernels/serial). OK for openacc-gcc-8-branch? 2018-12-21 Gergö Barany gcc/ * omp-low.c (scan_sharing