Re: [gomp4] Adjust UNQUE ifn

2015-10-26 Thread Thomas Schwinge
Hi Nathan! On Sun, 25 Oct 2015 10:01:55 -0400, Nathan Sidwell wrote: > I've applied this patch to gomp4 branch. It's the reworking of IFN_UNIQUE > suggested by Richard & Jakub. > > 1) IFN_UNIQUE is a ctrl-altering call, and thus ends up at the end of a BB. > 2) tracer only needs to check that

Re: [PR libgomp/65437, libgomp/66518] Initialize runtime in acc_update_device, acc_update_self

2015-10-26 Thread Thomas Schwinge
Hi! On Wed, 14 Oct 2015 14:08:42 +0200, Bernd Schmidt wrote: > On 10/09/2015 05:14 PM, Thomas Schwinge wrote: > > On Fri, 19 Jun 2015 09:47:41 +0200, I wrote: > >> On Tue, 5 May 2015 11:43:20 +0200, I wrote: > >>> On Mon, 4 May 2015 10:20:14 -0400, John David Ang

Re: libgomp testsuite: Remove some explicit acc_device_nvidia usage

2015-10-26 Thread Thomas Schwinge
Hi! On Wed, 14 Oct 2015 14:05:49 +0200, Bernd Schmidt wrote: > On 10/09/2015 05:11 PM, Thomas Schwinge wrote: > > On Wed, 22 Jul 2015 16:39:54 +0200, I wrote: > >> [...] cleanup; committed to > >> gomp-4_0-branch in r226072: [...] > > > > OK for trunk? >

Re: abort might not flush all open streams before process termination (was: aarch64-suse-linux-gnu: libgomp.oacc-c-c++-common/abort-1.c, libgomp.oacc-c-c++-common/abort-3.c FAILs)

2015-10-26 Thread Thomas Schwinge
starting at > <http://news.gmane.org/find-root.php?message_id=%3C87twq4p9f4.fsf%40kepler.schwinge.homeip.net%3E>. > > On Tue, 06 Oct 2015 13:55:00 +0200, Andreas Schwab > wrote: > > Thomas Schwinge writes: > > > > > | The two regressed test cases use __built

Re: Add non-constant vector ctors to operand_equal_p

2015-10-26 Thread Thomas Schwinge
Hi! On Thu, 22 Oct 2015 04:09:26 +0200, Jan Hubicka wrote: > this patch adds matching of non-constant CONSTRUCTOR expressions into > operand_equal_p. [...] > --- testsuite/gcc.dg/tree-ssa/operand-equal-2.c (revision 0) > +++ testsuite/gcc.dg/tree-ssa/operand-equal-2.c (revision 0) >

Re: [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++

2015-10-27 Thread Thomas Schwinge
d27b5..20fd5ec 100644 --- gcc/ChangeLog +++ gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-10-27 Thomas Schwinge + + * tree.h (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES) + (OACC_KERNELS_BODY, OACC_KERNELS_CLAUSES, OACC_KERNELS_COMBINED) + (OACC_PARALLEL_COMBINED): Don't define macros. Ad

Re: [testsuite, committed, PR68063] Add missing private clause in libgomp.c++/member-2.C

2015-10-27 Thread Thomas Schwinge
Hi Jakub! On Fri, 23 Oct 2015 12:48:57 +0200, Tom de Vries wrote: > this patch adds a missing private clause in libgomp.c++/member-2.C (as > you suggested in the PR). > > This allows the test to succeed consistently. I'm seeing occasional (very rarely) failure of libgomp.c++/member-1.C (withou

Re: [testsuite, committed, PR68063] Add missing private clause in libgomp.c++/member-2.C

2015-10-27 Thread Thomas Schwinge
Hi! On Tue, 27 Oct 2015 11:08:15 +0100, Jakub Jelinek wrote: > On Tue, Oct 27, 2015 at 10:15:11AM +0100, Thomas Schwinge wrote: > > ... looks a bit as if it might need to get the same patch applied that > > Tom has applied to libgomp.c++/member-2.C: > > You're right, m

[PR fortran/63865] OpenACC cache directive: match Fortran support with C/C++ (was: [gomp4] OpenACC cache directive maintenance)

2015-10-27 Thread Thomas Schwinge
didn't manage to (in > a reasonable amount of time, which has not been a lot that I allocated) > ;-) -- would you please have a look at this (but it's not urgent). > > [WIP patch] That never got resolved, so I've now done it myself, directly for trunk. OK to commit? commit 1e0a

Re: [PR fortran/63865] OpenACC cache directive: match Fortran support with C/C++

2015-10-27 Thread Thomas Schwinge
Hi! On Tue, 27 Oct 2015 16:26:54 +0100, Jakub Jelinek wrote: > On Tue, Oct 27, 2015 at 04:19:49PM +0100, Thomas Schwinge wrote: > > On Wed, 05 Nov 2014 17:44:58 +0100, I wrote: > > > On Wed, 05 Nov 2014 17:36:46 +0100, I wrote: > > > > In r217146, I applied th

Re: [gomp4] fortran cleanups and c/c++ loop parsing backport

2015-10-28 Thread Thomas Schwinge
sed-variable] int list; ^ commit 1e53d795ea68bcc7e5d5a7fa21e58c506e557cb4 Author: tschwinge Date: Wed Oct 28 10:57:45 2015 + Address -Werror=unused-variable and -Werror=unused-function diagnostics gcc/cp/ * parser.c (require_positive_expr): Remove

Re: [gomp4] OpenACC first private

2015-10-29 Thread Thomas Schwinge
.7fe3eac 100644 --- gcc/fortran/ChangeLog.gomp +++ gcc/fortran/ChangeLog.gomp @@ -1,3 +1,8 @@ +2015-10-29 Thomas Schwinge + + * openmp.c (gfc_match_omp_map_clause): Remove allow_sections + formal parameter. + 2015-10-28 Cesar Philippidis * trans-openmp.c (gfc_filter_oacc_c

Re: [gomp4] fortran cleanups and c/c++ loop parsing backport

2015-10-29 Thread Thomas Schwinge
Hi! On Wed, 28 Oct 2015 08:30:56 -0700, Cesar Philippidis wrote: > On 10/28/2015 04:00 AM, Thomas Schwinge wrote: > > On Tue, 27 Oct 2015 11:36:10 -0700, Cesar Philippidis > > wrote: > >> This patch contains the following: > >> > >> * C fr

Improve filenames for test cases of OpenACC combined directives (was: [gomp4] fortran cleanups and c/c++ loop parsing backport)

2015-10-29 Thread Thomas Schwinge
Hi! On Thu, 29 Oct 2015 09:56:18 +0100, I wrote: > On Wed, 28 Oct 2015 08:30:56 -0700, Cesar Philippidis > wrote: > > On 10/28/2015 04:00 AM, Thomas Schwinge wrote: > > > On Tue, 27 Oct 2015 11:36:10 -0700, Cesar Philippidis > > > wrote: > > > With... &

Re: [gomp4, committed] Add goacc/kernels-acc-on-device.c

2015-10-30 Thread Thomas Schwinge
Hi Tom! On Tue, 13 Oct 2015 17:49:21 +0200, Tom de Vries wrote: > On 12/10/15 14:52, Tom de Vries wrote: > > On 12/10/15 12:49, Thomas Schwinge wrote: > >> On Sat, 10 Oct 2015 12:49:01 +0200, Tom de > >> Vries wrote: > >>> >--- /dev/null > >>&g

Re: [gomp4] acc_on_device

2015-10-30 Thread Thomas Schwinge
- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git libgomp/ChangeLog.gomp libgomp/ChangeLog.gomp index ddbcdee..89f57ef 100644 --- libgomp/ChangeLog.gomp +++ libgomp/ChangeLog.gomp @@ -1,3 +1,8 @@ +2015-10-30 Thomas Schwinge + + * testsuite/libgomp.oacc-c-c++-common/acc-on-

Re: [gomp4] acc_on_device

2015-10-30 Thread Thomas Schwinge
g.gomp index 89f57ef..ba33e02 100644 --- libgomp/ChangeLog.gomp +++ libgomp/ChangeLog.gomp @@ -1,5 +1,8 @@ 2015-10-30 Thomas Schwinge + * testsuite/libgomp.oacc-c-c++-common/acc-on-device.c: Restore + dg-do compile directive. + * testsuite/libgomp.oacc-c-c++-common/acc-on-device.c:

Re: [gomp4] openacc reduction simplification

2015-10-30 Thread Thomas Schwinge
Hi Nathan! On Thu, 29 Oct 2015 13:28:02 -0700, Nathan Sidwell wrote: > I've committed this to gomp4. It removes a no-longer needed field from > omp_context & simplifies the dummy head/tail generation needed for > reductions > at the outermost level. Also incorporates the simplification I c

Re: [gomp4] declare directive [3/5]

2015-10-30 Thread Thomas Schwinge
an/ChangeLog.gomp index 7fe3eac..592dd8d 100644 --- gcc/fortran/ChangeLog.gomp +++ gcc/fortran/ChangeLog.gomp @@ -1,3 +1,7 @@ +2015-10-30 Thomas Schwinge + + * openmp.c (resolve_omp_clauses): Add "LINK" to clause_names. + 2015-10-29 Thomas Schwinge * openmp.c (gfc_match

[gomp4] Merge trunk r229562 (2015-10-30) into gomp-4_0-branch

2015-10-30 Thread Thomas Schwinge
Hi! Even if apparently Go programming language/libgo testing is largely busted (lots of FAILs; checking whether that's the case on trunk, too), committed to gomp-4_0-branch in r229589: commit ff52336e019500085958f58376d5aa56d67b6126 Merge: a027af2 da6fe89 Author: tschwinge Date: Fri Oct 30 16:

Re: [patch] New backend header reduction

2015-11-01 Thread Thomas Schwinge
nst.c: Include "md5.h". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229652 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog| 5 + gcc/fold-const.c | 1 + 2 files changed, 6 insertions(+) diff --git gcc/ChangeLog gcc/ChangeLog index d927d35..966a7f9 100644 --- g

Offload configurations (was: [patch] New backend header reduction)

2015-11-02 Thread Thomas Schwinge
Hi! On Fri, 30 Oct 2015 15:31:26 -0600, Jeff Law wrote: > On 10/30/2015 02:23 PM, Cesar Philippidis wrote: > > On 10/30/2015 01:20 PM, Andrew MacLeod wrote: > >> On 10/30/2015 02:09 PM, Andrew MacLeod wrote: > >>> On 10/30/2015 01:56 PM, Cesar Philippidis wrote: > On 10/23/2015 12:24 PM, Jef

OpenACC atomic directive

2015-11-02 Thread Thomas Schwinge
Hi! The OpenACC atomic directive matches OpenMP's atomic directive (got that clarified by the OpenACC committee), so they can share the same implementation. OK for trunk? commit 826c7022d0e2b9e225215b168a95487823dce925 Author: Thomas Schwinge Date: Mon Nov 2 10:35:44 2015 +0100 Op

Re: OpenACC atomic directive

2015-11-03 Thread Thomas Schwinge
Hi! On Mon, 2 Nov 2015 14:40:54 +0100, Jakub Jelinek wrote: > On Mon, Nov 02, 2015 at 02:09:38PM +0100, Thomas Schwinge wrote: > > The OpenACC atomic directive matches OpenMP's atomic directive (got that > > clarified by the OpenACC committee), so they can share the same >

Re: [gomp4, committed] Implement -foffload-alias

2015-11-04 Thread Thomas Schwinge
Hi Tom! On Tue, 3 Nov 2015 15:33:17 +0100, Tom de Vries wrote: > On 03/11/15 15:19, Tom de Vries wrote: > > I've dropped the two testcases from this patch, I'll commit in a > > follow-up patch. > > Committed to gomp-4_0-branch, as attached. > --- /dev/null > +++ b/gcc/testsuite/c-c++-common/goa

Re: [gomp4] fortran cleanups and c/c++ loop parsing backport

2015-11-04 Thread Thomas Schwinge
Hi Cesar! On Tue, 27 Oct 2015 11:36:10 -0700, Cesar Philippidis wrote: > * Proposed fortran cleanups and enhanced error reporting changes: > https://gcc.gnu.org/ml/gcc-patches/2015-10/msg02288.html ... has now been applied to trunk, in an altered version, so we now got some divergence bet

Re: [OpenACC] declare directive

2015-11-04 Thread Thomas Schwinge
Hi Jim! On Tue, 3 Nov 2015 10:31:32 -0600, James Norris wrote: > On 10/27/2015 03:18 PM, James Norris wrote: > > This patch adds the processing of OpenACC declare directive in C > > and C++. (Note: Support in Fortran is already in trunk.) ..., and a patch adjusting some Fortran front

Re: [openacc] acc loop updates in fortran

2015-11-04 Thread Thomas Schwinge
Hi Cesar! On Tue, 3 Nov 2015 19:06:50 -0800, Cesar Philippidis wrote: > This patch updates the fortran front end so that it supports the acc > loop clauses in a similar manner to both the c and c++ front ends in > addition to addressing a couple of other loose ends. > --- a/gcc/fortran/openmp.c

Re: [openacc] acc loop updates in fortran

2015-11-04 Thread Thomas Schwinge
Hi Jakub! On Wed, 4 Nov 2015 11:30:28 +0100, Jakub Jelinek wrote: > > gfc_match_oacc_update (void) > > { > >gfc_omp_clauses *c; > > + locus here = gfc_current_locus; > > + > >if (gfc_match_omp_clauses (&c, OACC_UPDATE_CLAUSES, false, false, true) > >!= MATCH_YES) > > retur

Re: [openacc] acc loop updates in fortran

2015-11-04 Thread Thomas Schwinge
Hi! On Wed, 4 Nov 2015 18:21:36 +0100, Jakub Jelinek wrote: > On Wed, Nov 04, 2015 at 06:15:14PM +0100, Thomas Schwinge wrote: > > > --- a/gcc/fortran/openmp.c > > > +++ b/gcc/fortran/openmp.c > > > > > @@ -3028,6 +3015,22 @@ resolve_omp_clauses (gf

Re: [openacc] tile, independent, default, private and firstprivate support in c/++

2015-11-05 Thread Thomas Schwinge
Hi Cesar! On Tue, 3 Nov 2015 14:16:59 -0800, Cesar Philippidis wrote: > This patch does the following to the c and c++ front ends: > * updates c_oacc_split_loop_clauses to filter out the loop clauses >from combined parallel/kernels loops > gcc/c-family/ > * c-omp.c (c_oacc_spl

Re: [openacc] tile, independent, default, private and firstprivate support in c/++

2015-11-05 Thread Thomas Schwinge
Hi! Nathan, question here about clause splitting for combined OpenACC "parallel loop" and "kernels loop" constructs, in particular: #pragma acc parallel loop reduction([...]) On Thu, 5 Nov 2015 06:47:58 -0800, Cesar Philippidis wrote: > On 11/05/2015 04:14 AM

[gomp4] Merge trunk r229764 (2015-11-04) into gomp-4_0-branch

2015-11-05 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r229821: commit bed2efe185cf13a52b9cf87ee52d74265f97d97b Merge: bb6471e bf3a27b Author: tschwinge Date: Thu Nov 5 18:02:08 2015 + svn merge -r 229562:229764 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/

[gomp4] Re: [1/3] OpenACC reductions

2015-11-06 Thread Thomas Schwinge
Hi Nathan! On Mon, 2 Nov 2015 11:18:37 -0500, Nathan Sidwell wrote: > This is the core execution bits of OpenACC reductions. > One thing not handled by this patch are reductions of variables of reference > type. We have an implementation on gomp4 branch [...] Trying to keep the existing code

[gomp4] Re: [2/3] OpenACC reductions

2015-11-06 Thread Thomas Schwinge
Hi Nathan! On Wed, 4 Nov 2015 11:59:28 -0500, Nathan Sidwell wrote: > [PTX backend pieces of OpenACC reduction handling] Merged your trunk r229768 into gomp-4_0-branch in r229836: commit 089a0224af68e30b55f42734de48adc645eb7370 Merge: 2b76127 78a78aa Author: tschwinge Date: Fri Nov 6 09:38:1

[gomp4] Re: [3/3] OpenACC reductions

2015-11-06 Thread Thomas Schwinge
Hi Nathan! On Mon, 2 Nov 2015 11:38:47 -0500, Nathan Sidwell wrote: > This patch are the initial set of tests. The libgomp tests use an idiom of > summing thread identifiers and then checking the expected set of threads > participated. They are all derived from the loop tests I recently added

Re: [PATCH] Merge from gomp-4_5-branch to trunk

2015-11-06 Thread Thomas Schwinge
3 ++- libgomp/ChangeLog |5 + libgomp/testsuite/libgomp.oacc-c-c++-common/loop-red-v-2.c |2 ++ libgomp/testsuite/libgomp.oacc-c-c++-common/loop-red-w-2.c |2 ++ 5 files changed, 15 insertions(+), 1 deletion(-) diff --git gcc/testsuite/Change

Re: Merge of HSA branch

2015-11-06 Thread Thomas Schwinge
Hi! On Fri, 6 Nov 2015 12:03:25 +0100, Bernd Schmidt wrote: > On 11/06/2015 11:30 AM, Richard Biener wrote: > > On Fri, 6 Nov 2015, Bernd Schmidt wrote: > >> > >> Realistically we're probably not going to reject this work, but I still > >> want > >> to ask whether the approach was acked by the c

Re: [PATCH] Merge from gomp-4_5-branch to trunk

2015-11-06 Thread Thomas Schwinge
41258a0822da206890e04c7 Author: tschwinge Date: Fri Nov 6 16:44:35 2015 + XFAIL testcases regressed after r229814, "Merge from gomp-4_5-branch to trunk" gcc/testsuite/ * gfortran.dg/goacc/combined_loop.f90: XFAIL. git-svn-id: svn+ssh://gcc.gnu.or

Re: [gomp4] OpenACC reduction tests

2015-11-07 Thread Thomas Schwinge
Hi! On Wed, 23 Sep 2015 09:56:44 +0200, I wrote: > On Fri, 18 Sep 2015 10:11:25 +0200, I wrote: > > On Fri, 17 Jul 2015 11:13:59 -0700, Cesar Philippidis > > wrote: > > > This patch updates the libgomp OpenACC reduction test cases [...] > > Given the following > > -Wuninitialized/-Wmaybe-uninit

Combined constructs' clause splitting (was: [gomp4] backport trunk FE changes)

2015-11-07 Thread Thomas Schwinge
Hi! On Fri, 6 Nov 2015 15:31:23 -0800, Cesar Philippidis wrote: > I've applied this patch to gomp-4_0-branch which backports most of my > front end changes from trunk. Note that I found a regression while > testing, which is also present in trunk. It looks like > kernels-acc-loop-reduction.c is

[gomp4] Merge trunk r229809 (2015-11-05) into gomp-4_0-branch

2015-11-07 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r229929: commit f782e15f314aa57eb7bca3bfdea54fba6c48e929 Merge: eb7d11e e103794 Author: tschwinge Date: Sat Nov 7 13:42:07 2015 + svn merge -r 229770:229809 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/

Re: [PATCH] Merge from gomp-4_5-branch to trunk

2015-11-08 Thread Thomas Schwinge
Hi! On Thu, 5 Nov 2015 16:29:36 +0100, Jakub Jelinek wrote: > I've merged the current state of gomp-4_5-branch into trunk, after > bootstrapping/regtesting it on x86_64-linux and i686-linux. Merged trunk r229814 into gomp-4_0-branch in r229947: commit 7a6eb6b7cf9b72cf68a72b29d3bdc33e89dae58b Me

Re: [OpenACC] internal fn folding

2015-11-08 Thread Thomas Schwinge
Hi! On Thu, 5 Nov 2015 10:48:02 -0500, Nathan Sidwell wrote: > On 11/04/15 05:02, Bernd Schmidt wrote: > > On 11/02/2015 02:56 PM, Nathan Sidwell wrote: > >> On 10/28/15 14:40, Nathan Sidwell wrote: > >>> Richard, > >>> this patch adds folding for the new GOACC_DIM_POS and GOACC_DIM_SIZE > >>> in

Re: [gomp4, committed] Remove superfluous pass_expand_omp_ssa

2015-11-09 Thread Thomas Schwinge
diff --git gcc/testsuite/ChangeLog.gomp gcc/testsuite/ChangeLog.gomp index a300e38..22f1c74 100644 --- gcc/testsuite/ChangeLog.gomp +++ gcc/testsuite/ChangeLog.gomp @@ -1,3 +1,8 @@ +2015-11-09 Thomas Schwinge + + * gcc.dg/gomp/notify-new-function-3.c: Scan "ompexpssa2" instead +

[gomp4] Merge trunk r229831 (2015-11-06) into gomp-4_0-branch

2015-11-09 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r229996: commit 16dbf91c2738167a38a4870c79015dfd619ef903 Merge: 38d123c 917fa02 Author: tschwinge Date: Mon Nov 9 09:07:26 2015 + svn merge -r 229816:229831 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/

[gomp4] Re: [openacc] tile, independent, default, private and firstprivate support in c/++

2015-11-09 Thread Thomas Schwinge
Hi! On Thu, 5 Nov 2015 18:10:49 -0800, Cesar Philippidis wrote: > I've applied this patch to trunk. It also includes the fortran and > template changes. [...] > Also, because of these reduction problems, I decided not to merge > combined_loops.f90 with combined-directives.f90 yet because the la

Re: [PR66326, Cilk+] Fix FP exception occured in CilkPlus runtime

2015-11-09 Thread Thomas Schwinge
Hi! On Mon, 2 Nov 2015 20:10:06 +, "Zamyatin, Igor" wrote: > This patches fixes FP exception that comes from CilkPlus runtime. > > Bootstrapped and regtested for x86_64. > --- /dev/null > +++ b/gcc/testsuite/g++.dg/cilk-plus/CK/pr66326.cc > @@ -0,0 +1,33 @@ > +/* { dg-options "-fcilkplus"

Re: [PATCH v2 11/13] Test case for conversion from __seg_tls:0

2015-11-09 Thread Thomas Schwinge
+ gcc/testsuite/gcc.target/i386/addr-space-3.c |2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git gcc/testsuite/ChangeLog gcc/testsuite/ChangeLog index ca1991b..da4f940 100644 --- gcc/testsuite/ChangeLog +++ gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-11-09 Thomas Schwinge

[gomp4] Merge trunk r230048 (2015-11-09) into gomp-4_0-branch

2015-11-09 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230084: commit 2b663911808921396592f62fe3ae8eb1d49923a8 Merge: 4ca3d77 2f8f4fa Author: tschwinge Date: Tue Nov 10 07:06:39 2015 + svn merge -r 229832:230048 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: [gomp4] Random omp-low.c backporting

2015-11-10 Thread Thomas Schwinge
Hi Nathan! On Tue, 10 Nov 2015 09:19:50 -0500, Nathan Sidwell wrote: > I've committed this to backport a bunch of random bits from trunk to gomp4, > and > thereby reduce divergence. Yeah, I had some of these on my list, too. > --- omp-low.c (revision 230080) > +++ omp-low.c (working copy) > @

Re: [OpenACC] declare directive

2015-11-11 Thread Thomas Schwinge
Hi! On Wed, 11 Nov 2015 09:32:33 +0100, Jakub Jelinek wrote: > On Mon, Nov 09, 2015 at 05:11:44PM -0600, James Norris wrote: > > diff --git a/gcc/c-family/c-pragma.h b/gcc/c-family/c-pragma.h > > index 953c4e3..c6a2981 100644 > > --- a/gcc/c-family/c-pragma.h > > +++ b/gcc/c-family/c-pragma.h > >

[gomp4] Merge trunk r230082 (2015-11-10) into gomp-4_0-branch

2015-11-11 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230154: commit 1fe1fa3a7b9d4286630cd286e0a52abe2d11e955 Merge: 02d9df1 76e711b Author: tschwinge Date: Wed Nov 11 11:43:09 2015 + svn merge -r 230048:230082 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: [ptx] partitioning optimization

2015-11-11 Thread Thomas Schwinge
Hi! On Wed, 11 Nov 2015 08:59:17 -0500, Nathan Sidwell wrote: > On 11/11/15 07:06, Bernd Schmidt wrote: > > On 11/10/2015 11:33 PM, Nathan Sidwell wrote: > >> I've been unable to introduce a testcase for this. (But you still committed an update to gcc/testsuite/ChangeLog.) You'll need to put su

[gomp4] Merge trunk r230169 (2015-11-11) into gomp-4_0-branch

2015-11-11 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230214: commit 265f04668a5b7dece82a35e2d75e8b51a1d75b69 Merge: 5e71838 b656be3 Author: tschwinge Date: Thu Nov 12 07:40:36 2015 + svn merge -r 230082:230169 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: OpenACC Firstprivate

2015-11-12 Thread Thomas Schwinge
Hi Nathan! Merging back your trunk r230169 into gomp-4_0-branch, for the new libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c test, I'm seeing the compiler diagnose as follows (compile with "-Wall -O2"): source-gcc/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c: In

Re: [hsa 2/12] Modifications to libgomp proper

2015-11-12 Thread Thomas Schwinge
Hi! On Thu, 12 Nov 2015 11:11:33 +0100, Jakub Jelinek wrote: > On Thu, Nov 05, 2015 at 10:54:42PM +0100, Martin Jambor wrote: > > --- a/libgomp/libgomp.h > > +++ b/libgomp/libgomp.h > > @@ -876,7 +876,8 @@ struct gomp_device_descr > >void *(*dev2host_func) (int, void *, const void *, size_t);

Re: [gomp4] remove c++ reference restriction

2015-11-12 Thread Thomas Schwinge
ons(-) diff --git gcc/cp/ChangeLog.gomp gcc/cp/ChangeLog.gomp index 1f19b39..e4d000d 100644 --- gcc/cp/ChangeLog.gomp +++ gcc/cp/ChangeLog.gomp @@ -1,3 +1,8 @@ +2015-11-12 Thomas Schwinge + + * semantics.c (finish_omp_clauses): Remove "reference types are + not supported in Op

Re: [committed] gen-pass-instances.awk: Simplify match regexp in handle_line

2015-11-13 Thread Thomas Schwinge
Hi Tom! As I happend to see this, and have a number of older build trees around: On Thu, 12 Nov 2015 11:09:04 +0100, Tom de Vries wrote: > this patch [and another dozen of such patches before] simplifies [...] in > gen-pass-instances.awk. > > Committed to trunk as trivial. Supposing this was

[gomp4] Merge trunk r230255 (2015-11-12) into gomp-4_0-branch

2015-11-13 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230293: commit 679edb57a2d0826d2965ba5d61ef11df0e3b23bf Merge: 6ec2634 0ebb8b2 Author: tschwinge Date: Fri Nov 13 09:21:42 2015 + svn merge -r 230169:230255 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

[OpenACC] C, C++: bind and nohost clauses

2015-11-14 Thread Thomas Schwinge
: Thomas Schwinge Date: Fri Nov 13 14:36:57 2015 +0100 [OpenACC] C, C++: bind and nohost clauses -MM-DD Thomas Schwinge Joseph Myers gcc/ * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_BIND and OMP_CLAUSE_NOHOST. * tree.c

Re: RFC: C++ delayed folding merge

2015-11-22 Thread Thomas Schwinge
Hi Jason! On Mon, 9 Nov 2015 01:30:34 -0500, Jason Merrill wrote: > I'm planning to merge the C++ delayed folding branch this week [...] Would be nice to get rid of the two following UNRESOLVEDs: > --- a/gcc/testsuite/g++.dg/init/self1.C > +++ b/gcc/testsuite/g++.dg/init/self1.C > @@ -10,7 +10,

Re: [ptx] partitioning optimization

2015-11-22 Thread Thomas Schwinge
Hi! On Fri, 13 Nov 2015 21:22:11 +0100, Bernd Schmidt wrote: > On 11/13/2015 09:06 PM, Nathan Sidwell wrote: > > On 11/11/15 09:19, Bernd Schmidt wrote: > >> On 11/11/2015 02:59 PM, Nathan Sidwell wrote: > >>> That's not the problem. How to conditionally enable the test is the > >>> difficulty.

Re: [gomp4.1] Handle new form of #pragma omp declare target

2015-11-23 Thread Thomas Schwinge
Hi Jakub! On Fri, 17 Jul 2015 15:05:59 +0200, Jakub Jelinek wrote: > [...] "omp declare target link" [...] > This patch only marks them with the new attribute, [...] > --- gcc/c/c-parser.c.jj 2015-07-16 18:09:25.0 +0200 > +++ gcc/c/c-parser.c 2015-07-17 14:11:08.553694975 +0200

Re: [OpenACC] declare directive

2015-11-23 Thread Thomas Schwinge
es to GOMP_MAP_FIRSTPRIVATE only, which here (unintended?) got an "Allocate" comment added? To answer your question from <http://news.gmane.org/find-root.php?message_id=%3C563A3C70.6060500%40codesourcery.com%3E>: On Wed, 4 Nov 2015 11:12:16 -0600, James Norris

[gomp4] Merge trunk r230274 (2015-11-12) into gomp-4_0-branch

2015-11-23 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230749: commit 4002b8b54d3e1e9ac049446339fc02e3fd192f43 Merge: 018ba48 5902f28 Author: tschwinge Date: Mon Nov 23 10:41:31 2015 + svn merge -r 230255:230274 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: [ptx] Fix sso tests

2015-11-24 Thread Thomas Schwinge
Hi! On Mon, 23 Nov 2015 15:16:12 -0500, Nathan Sidwell wrote: > The gcc.dg/sso tests gratuitously fail on PTX because they use IO facilities > that don't exist there. This patch changes the dumping to use the putchar > function call (and not a macro), and not use fputs. > void put (const ch

[gomp4] Re: [OpenACC] declare directive

2015-11-24 Thread Thomas Schwinge
Hi! On Mon, 23 Nov 2015 13:37:20 +0100, I wrote: > A few things I noticed when working on merging your trunk r230275 into > gomp-4_0-branch. [...] I have now committed the merge of your trunk r230275 into gomp-4_0-branch, in r230787. This was non-trivial: the implementation of OpenACC declare o

Re: [PATCH 12/12] always define ENABLE_OFFLOADING

2015-11-24 Thread Thomas Schwinge
Hi! On Mon, 23 Nov 2015 19:52:08 +0300, Ilya Verbin wrote: > There are 2 new uses of "#ifdef ENABLE_OFFLOADING" in c_parser_oacc_declare > and > cp_parser_oacc_declare. > I don't know how to properly test OpenACC, so here is untested patch. "make check"? ;-) (Offloading currently will happen f

Re: RFC: C++ delayed folding merge

2015-11-26 Thread Thomas Schwinge
Hi! On Mon, 9 Nov 2015 01:30:34 -0500, Jason Merrill wrote: > I'm planning to merge the C++ delayed folding branch this week [...] In r230554, , Cesar already fixed up cp_fold_r to also care for OACC_LOOP,

[gomp4] Merge trunk r230627 (2015-11-19) into gomp-4_0-branch

2015-11-26 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230925: commit 3ce2a2ee891a51909c23b2cb1a13f230c6a75e36 Merge: d60891e 62efaf6 Author: tschwinge Date: Thu Nov 26 09:02:30 2015 + svn merge -r 230275:230627 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: [PATCH] Fix up reduction-1{1,2} testcases (PR middle-end/68221)

2015-11-26 Thread Thomas Schwinge
+ yb = fold_build2_loc (clause_loc, MINUS_EXPR, > > + pointer_sized_int_node, yb, bias); > > + x = fold_convert_loc (clause_loc, TREE_TYPE (x), yb); > > yb = create_tmp_var (ptype, name); > > gi

[gomp4] Merge trunk r230720 (2015-11-22) into gomp-4_0-branch

2015-11-26 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r230992: commit 8373bdf9386875ed123bef3344bbbfddff5f7eec Merge: 3ce2a2e 2ec3c6f Author: tschwinge Date: Fri Nov 27 06:21:15 2015 + svn merge -r 230627:230720 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: Enable pointer TBAA for LTO

2015-11-26 Thread Thomas Schwinge
Hi! On Mon, 23 Nov 2015 18:34:30 +0300, Ilya Verbin wrote: > On Mon, Nov 23, 2015 at 16:31:42 +0100, Richard Biener wrote: > > I think it also causes the following and one related ICE > > > > FAIL: gcc.dg/vect/pr62021.c -flto -ffat-lto-objects (internal compiler > > error) > > > > /space/rguen

[gomp4] Re: OpenACC declare directive updates

2015-11-27 Thread Thomas Schwinge
Hi! On Thu, 19 Nov 2015 10:22:16 -0600, James Norris wrote: > --- a/gcc/fortran/dump-parse-tree.c > +++ b/gcc/fortran/dump-parse-tree.c Don't you need to handle OMP_LIST_LINK in gcc/fortran/dump-parse-tree.c:show_omp_clauses; OMP_LIST_DEVICE_RESIDENT is being handled there (but maps to the wron

Re: [PATCH] GCC system.h and Graphite header order

2015-11-27 Thread Thomas Schwinge
Hi! On Tue, 24 Nov 2015 10:32:12 +, Alan Lawrence wrote: > I note doc/install.texi says that gcc uses "ISL Library version 0.15, > 0.14, 0.13, or 0.12.2". This patch breaks the build with 0.12.2 (a > subset of errors below) has been filed. I set you guys on CC.

[gomp4] Merge trunk r230906 (2015-11-25) into gomp-4_0-branch

2015-11-29 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r231043: commit 539313e6310e782c46ddb9a43ef4a99de6945b14 Merge: 95e909a 3abdee2 Author: tschwinge Date: Sun Nov 29 12:19:10 2015 + svn merge -r 230725:230906 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc

Re: [PATCH] GCC system.h and Graphite header order

2015-11-30 Thread Thomas Schwinge
Hi! On Fri, 27 Nov 2015 11:51:11 -0500, David Edelsohn wrote: > On Fri, Nov 27, 2015 at 11:24 AM, Thomas Schwinge > wrote: > > On Tue, 24 Nov 2015 10:32:12 +, Alan Lawrence > > wrote: > >> I note doc/install.texi says that gcc uses "ISL Library version

[gomp4] Use pass_ch instead of pass_ch_oacc_kernels (was: [PATCH, 8/16] Add pass_ch_oacc_kernels)

2015-11-30 Thread Thomas Schwinge
| 60 +++--- 8 files changed, 24 insertions(+), 63 deletions(-) diff --git gcc/ChangeLog.gomp gcc/ChangeLog.gomp index 54712ab..2c8f0c2 100644 --- gcc/ChangeLog.gomp +++ gcc/ChangeLog.gomp @@ -1,3 +1,9 @@ +2015-11-30 Thomas Schwinge + + * passes.def: Use

[gomp4] Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def

2015-11-30 Thread Thomas Schwinge
Hi! On Wed, 25 Nov 2015 11:43:14 +0100 (CET), Richard Biener wrote: > On Tue, 24 Nov 2015, Tom de Vries wrote: > > > [...] > > > > Reposting using the in_loop_pipeline style in pass_lim. > > Ok. I merged trunk r230907 into gomp-4_0-branch in a very simplistic way, basically just moving pass_f

[gomp4] Merge trunk r231075 (2015-11-30) into gomp-4_0-branch

2015-11-30 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r231099: commit 4f88f92b308151aa2c2592102da20c417df69c27 Merge: 24e5942 851c1b0 Author: tschwinge Date: Tue Dec 1 07:44:27 2015 + svn merge -r 230907:231075 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/

Re: [gomp] Move openacc vector& worker single handling to RTL

2015-12-01 Thread Thomas Schwinge
.gomp | 4 gcc/omp-low.c | 42 +- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git gcc/ChangeLog.gomp gcc/ChangeLog.gomp index 0e4f371..4842164 100644 --- gcc/ChangeLog.gomp +++ gcc/ChangeLog.gomp @@ -1,3 +1,7 @@ +2015-12-01 Thomas Sc

Re: [1/2] OpenACC routine support

2015-12-01 Thread Thomas Schwinge
Hi Cesar! I noticed while working on other test cases: On Wed, 18 Nov 2015 11:02:01 -0800, Cesar Philippidis wrote: > --- a/gcc/cp/parser.c > +++ b/gcc/cp/parser.c > @@ -1318,13 +1318,21 @@ cp_finalize_omp_declare_simd (cp_parser *parser, tree > fndecl) > } > } > > -/* Diagnose if #pr

Re: [OpenACC 0/7] host_data construct

2015-12-02 Thread Thomas Schwinge
--- gcc/cp/pt.c | 2 ++ gcc/testsuite/ChangeLog | 15 +++ .../testsuite/c-c++-common/goacc/host_data-5.c | 6 -- .../testsuite/c-c++-common/goacc}/host_data-6.c | 6 -- gcc/testsuite/gfortran.dg/goa

[gomp4] Merge trunk r231117 (2015-12-01) into gomp-4_0-branch

2015-12-02 Thread Thomas Schwinge
Hi! Committed to gomp-4_0-branch in r231186: commit e08db3c495b2447b7b3dacc61e9c297fd736a061 Merge: 32f9dce ce182d9 Author: tschwinge Date: Wed Dec 2 16:16:40 2015 + svn merge -r 231075:231117 svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/

Re: [PATCH] Handle BUILT_IN_GOACC_PARALLEL in ipa-pta

2015-12-02 Thread Thomas Schwinge
Hi! On Tue, 1 Dec 2015 15:25:42 +0100, Tom de Vries wrote: > Handle BUILT_IN_GOACC_PARALLEL in ipa-pta > * c-c++-common/goacc/kernels-alias-ipa-pta-2.c: New test. > * c-c++-common/goacc/kernels-alias-ipa-pta-3.c: New test. > * c-c++-common/goacc/kernels-alias-ipa-pta.c: New tes

Re: [PATCH] Fix oacc kernels default mapping for scalars

2015-12-02 Thread Thomas Schwinge
Hi! Copying Nathan for your information, in case you had not yet seen that gcc/gimplify.c:oacc_default_clause change: On Fri, 27 Nov 2015 12:29:21 +0100, Tom de Vries wrote: > The OpenACC 2.0a standard says this about the default mapping for > variables used in a kernels region: > ... > An arra

[gomp4] Re: [OpenACC 0/7] host_data construct

2015-12-02 Thread Thomas Schwinge
Hi! On Wed, 2 Dec 2015 16:58:45 +0100, I wrote: > Cesar and Jim copied, for help with Fortran and generally testsuite > things. > > On Mon, 30 Nov 2015 19:30:34 +, Julian Brown > wrote: > > [patch] > > First, thanks! Aside from a number of formatting/re-ordering changes, the front end cha

Re: [1/2] OpenACC routine support

2015-12-03 Thread Thomas Schwinge
Hi Cesar! On Wed, 2 Dec 2015 15:37:17 -0800, Cesar Philippidis wrote: > On 12/01/2015 06:49 AM, Cesar Philippidis wrote: > > On 12/01/2015 06:40 AM, Thomas Schwinge wrote: > > > >> I noticed while working on other test cases: > >> > >> On Wed, 18

Re: [PATCH, C++] Wrap OpenACC wait in EXPR_STMT

2015-12-03 Thread Thomas Schwinge
Hi Chung-Lin! On Mon, 23 Nov 2015 21:15:00 +0800, Chung-Lin Tang wrote: > The OpenACC wait directive is represented as a call to the runtime > function "GOACC_wait" instead of a tree code. I am seeing when > '#pragma acc wait' is using inside a template function, the CALL_EXPR > to GOACC_wait i

Re: [PATCH, C++] Wrap OpenACC wait in EXPR_STMT

2015-12-03 Thread Thomas Schwinge
Hi! On Thu, 03 Dec 2015 09:51:31 +0100, I wrote: > On Mon, 23 Nov 2015 21:15:00 +0800, Chung-Lin Tang > wrote: > > The OpenACC wait directive is represented as a call to the runtime > > function "GOACC_wait" instead of a tree code. I am seeing when > > '#pragma acc wait' is using inside a templ

Re: [gomp4] Adjust Fortran OACC async lib test

2015-12-08 Thread Thomas Schwinge
Hi! On Mon, 23 Nov 2015 19:09:36 +0800, Chung-Lin Tang wrote: > this fix adds more acc_wait's to libgomp.oacc-fortran/lib-1[13].f90. It has not been obvious to me that these test cases would regress (PASS -> FAIL, at least for some optimization levels) when your recent "[PATCH, libgomp] Rewire

[gomp4] [WIP] OpenACC bind, nohost clauses (was: [OpenACC] C, C++: bind and nohost clauses)

2015-12-08 Thread Thomas Schwinge
acc/routine-2.c | 45 +-- gcc/testsuite/c-c++-common/goacc/routine-5.c | 14 +++ gcc/testsuite/c-c++-common/goacc/routine-8.c | 52 gcc/testsuite/c-c++-common/goacc/routine-9.c | 20 --- .../c-c++-common/goacc/routine-nohost-1.c | 3

[gomp4] libgomp documentation: CUDA Streams Usage

2015-12-08 Thread Thomas Schwinge
eLog.gomp libgomp/ChangeLog.gomp index a59cc9d..4b99302 100644 --- libgomp/ChangeLog.gomp +++ libgomp/ChangeLog.gomp @@ -1,4 +1,9 @@ 2015-12-08 Thomas Schwinge + James Norris + + * libgomp.texi (CUDA Streams Usage): New chapter. + +2015-12-08 Thomas Schwinge *

Splitting up gcc/omp-low.c? (was: [hsa 5/10] OpenMP lowering/expansion changes (gridification))

2015-12-09 Thread Thomas Schwinge
Hi! I've been meaning to suggest this for some time already: On Wed, 9 Dec 2015 14:19:30 +0100, Jakub Jelinek wrote: > As for omp-low.c changes, the file is already large enough that it would be > nice if it is easy to find out what routines are for gridification purposes > only, use some specia

devel/omp/gcc-9 branch (was: [wwwdocs] Document existence of openacc-gcc-9-branch)

2020-03-03 Thread Thomas Schwinge
nt branch based on release branch, not master", I've pushed this as devel/omp/gcc-9, and pushed to gcc-wwwdocs the attached commit 6b92a4c7033db33ed5b6827e826a561077ed2181 "Document devel/omp/gcc-9 branch". Grüße Thomas From 6b92a4c7033db33ed5b6827e826a561077ed2181 Mon Sep

[PATCH] Handle 'omp declare target' attribute set for both OpenACC and OpenMP 'target' [PR89433, PR93465] (was: [committed] PR89433 "Repeated use of the OpenACC 'routine' directive")

2020-03-04 Thread Thomas Schwinge
backporting (a variant of this) to release branches -- where also other such mixed OpenACC/OpenMP code is silently accepted, with unclear semantics. Grüße Thomas From 3f8e048f5f8d1eabde642c1c146114027bb44e79 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 4 Mar 2020 17:58:33 +0100 Su

Re: [PATCH 24/25] Ignore LLVM's blank lines.

2020-03-23 Thread Thomas Schwinge
Hi! Now that I'm looking into enabling AMD GCN offloading in my builds, I have a few concerns here. ;-) On 2018-09-14T10:18:12-0600, Jeff Law wrote: > On 9/5/18 5:52 AM, a...@codesourcery.com wrote: >> >> The GCN toolchain must use the LLVM assembler and linker because there's no >> binutils po

Re: [PATCH 24/25] Ignore LLVM's blank lines.

2020-03-24 Thread Thomas Schwinge
ols-wrapper' [PR88920]" patch, in case somebody would like to have a first look. Grüße Thomas - Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Ale

[og9] Fix og9 "Fix hang when running oacc exec with CUDA 9.0 nvprof"

2020-03-25 Thread Thomas Schwinge
with CUDA 9.0 nvprof"'. Grüße Thomas - Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter >From 9ae129017c7fc1fa638d6beedd3802b515ca692b Mon Sep 17 00:00

<    7   8   9   10   11   12   13   14   15   16   >