[PATCH] libierty: change _ANSIDECL_H to ANSIDECL_H

2015-07-19 Thread Lawrence D'Anna
ansidecl.h is using _ANSIDECL_H as it's guard #ifdef. But names that start with underscore are reserved, and the latest version of Xcode seems to be exercising its prerogative to define _ANSIDECL_H. This patch changes _ANSIDECL_H to ANSIDECL_H so Xcode can still be used to bootstrap gcc. Signed-

Re: [PATCH 1/2] Allow REG_EQUAL for ZERO_EXTRACT

2015-07-19 Thread Kugan
I have made a mistake while addressing the review comments for this patch. Unfortunately, It was not detected in my earlier testing. My sincere graphology for the mistake. I have basically missed the STRICT_LOW_PART check for the first if-check thus the second part (which is the ZERO_EXTRACT part)

[PATCH] config/bfin/bfin.c (hwloop_optimize): Recognize direct jump case and emit lsetup at loop head.

2015-07-19 Thread Chen Gang
2015-07-20 Chen Gang * config/bfin/bfin.c (hwloop_optimize): Recognize direct jump case and emit lsetup at loop head. --- gcc/config/bfin/bfin.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c inde

Re: [PATCH] gcc/: Fix building with isl-0.15.0; includes

2015-07-19 Thread Tobias Grosser
On 07/19/2015 11:10 PM, james harvey wrote: These two patches appear to do the trick. I'm building with ISL 0.15 just fine now. Nice. Tobias

Re: [v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
On 19 July 2015 at 20:14, Ville Voutilainen wrote: > On 19 July 2015 at 20:13, Ville Voutilainen > wrote: >> Minor changelog fix, the single-pointer functions aren't constrained with >> array compatibility, but with deleter compatibility. > > And that should be single-object, not single-pointer,

Re: [PATCH] gcc/: Fix building with isl-0.15.0; includes

2015-07-19 Thread james harvey
These two patches appear to do the trick. I'm building with ISL 0.15 just fine now. On Fri, Jul 17, 2015 at 11:10 AM, Bernhard Reutner-Fischer wrote: > In addition to Mike's "[PATCH] gcc: fix building w/isl-0.15" in > https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01162.html > I seem to also need

Re: [PATCH] gcc: fix building w/isl-0.15

2015-07-19 Thread james harvey
This patch and https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01506.html Appear to do the trick. I'm building with ISL 0.15 just fine now. On Tue, Jul 14, 2015 at 2:45 PM, Mike Frysinger wrote: > --- > gcc/config.in | 6 ++ > gcc/configure | 31 +

Re: [gomp4] remove kernel-specific launch

2015-07-19 Thread Nathan Sidwell
On 07/19/15 16:30, Thomas Schwinge wrote: gcc/tree-parloops.c:/* Remove GOACC_kernels. */ libgomp/libgomp.map:GOACC_kernels; libgomp/libgomp_g.h:extern void GOACC_kernels (int, void (*) (void *), size_t, I fixed all byt the parloops comment. That comment didn't really

Fix PTX loaded module data

2015-07-19 Thread Nathan Sidwell
Hi, this patch fixes the ptx plugin's management of offloaded functions. Currently it has a single global list of functions. But it should track this information per ptx device instance. I've moved the linked list into the per-device data. We were also not managing the plugin-allocated vec

Re: [gomp4] remove kernel-specific launch

2015-07-19 Thread Tom de Vries
On 19/07/15 22:30, Thomas Schwinge wrote: Does it make sense then to rename GOACC_kernels_internal to GOACC_kernels? I prefer to keep the name GOACC_kernels_internal, IMO it's clearer. Thanks, - Tom

Re: [gomp4] remove kernel-specific launch

2015-07-19 Thread Thomas Schwinge
Hi! On Sun, 19 Jul 2015 08:27:44 -0400, Nathan Sidwell wrote: > Tom, > as we discussed this patch removes the GOACC_kernels call, which forwards to > GOACC_parallel. We simply call GOACC_parallel directly. > > ok for gomp4 branch? > gcc/ > * omp-low.c (expand_omp_target): Convert

Re: [PATCH] Refactor graphite-isl-ast-to-gimple.c

2015-07-19 Thread Tobias Grosser
On 07/19/2015 09:46 PM, Aditya Kumar wrote: Refactor graphite-isl-ast-to-gimple.c: Refactor so that each function can access 'region'. This will help maintain a parameter rename_map within a region. No functional change intended. This patch will be followed by another set of patches where transla

RE: [PATCH] Rename parameters which are within scop

2015-07-19 Thread Aditya K
> Date: Sat, 18 Jul 2015 02:22:19 +0200 > From: tob...@grosser.es > To: hiradi...@msn.com; gcc-patches@gcc.gnu.org > CC: seb...@gmail.com; richard.guent...@gmail.com > Subject: Re: [PATCH] Rename parameters which are within scop > > Hi Aditya, > > could yo

[PATCH] Refactor graphite-isl-ast-to-gimple.c

2015-07-19 Thread Aditya Kumar
Refactor graphite-isl-ast-to-gimple.c: Refactor so that each function can access 'region'. This will help maintain a parameter rename_map within a region. No functional change intended. This patch will be followed by another set of patches where translate_isl_ast_to_gimple::region is used to keep p

[patch] Fix wrong URL for N4279 in libstdc++ manual.

2015-07-19 Thread Jonathan Wakely
Committed to trunk. commit bfd6e14c25de5e2f97dd1ab037a53b35df4f Author: Jonathan Wakely Date: Sun Jul 19 19:31:16 2015 +0100 * doc/xml/manual/status_cxx2017.xml: Fix URL for N4279. * doc/html/manual/status.html: Regenerate. diff --git a/libstdc++-v3/doc/xml/manual/status_cxx201

Re: [v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
On 19 July 2015 at 20:13, Ville Voutilainen wrote: > Minor changelog fix, the single-pointer functions aren't constrained with > array compatibility, but with deleter compatibility. And that should be single-object, not single-pointer, not that it has any effect on the corrected changelog. :)

Re: [v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
On 19 July 2015 at 19:56, Ville Voutilainen wrote: > Tested on Linux-PPC64. > > 2015-07-19 Ville Voutilainen > Implement N4089 Safe conversions in unique_ptr (LWG 2118) > and N4387 LWG 2228: Missing SFINAE rule in unique_ptr > templated assignment > * include/bits/unique_ptr.h >

[v3 PATCH] Implement N4089 and N4387

2015-07-19 Thread Ville Voutilainen
Tested on Linux-PPC64. 2015-07-19 Ville Voutilainen Implement N4089 Safe conversions in unique_ptr (LWG 2118) and N4387 LWG 2228: Missing SFINAE rule in unique_ptr templated assignment * include/bits/unique_ptr.h (__remove_cv, __is_derived_Tp): Remove. (default_delete::d

Re: [gomp4] remove kernel-specific launch

2015-07-19 Thread Tom de Vries
On 19/07/15 14:27, Nathan Sidwell wrote: Tom, as we discussed this patch removes the GOACC_kernels call, which forwards to GOACC_parallel. We simply call GOACC_parallel directly. ok for gomp4 branch? Hi Nathan, yes, that looks good. Thanks, - Tom

Refactor openacc wait routine

2015-07-19 Thread Nathan Sidwell
this trunk patch refactors libgomp's goacc_wait, which is used for two different purposes. 1) when openacc pragmas specify a (non-zero) waits. 2) when the wait pragma itself specifies a zero number of waits. this leads to #2 calling goacc_wait with num_waits=0, and forces #1 to never do that.

[gomp4] remove kernel-specific launch

2015-07-19 Thread Nathan Sidwell
Tom, as we discussed this patch removes the GOACC_kernels call, which forwards to GOACC_parallel. We simply call GOACC_parallel directly. ok for gomp4 branch? nathan 2015-07-19 Nathan Sidwell gcc/ * omp-low.c (expand_omp_target): Convert to BUILT_IN_GOACC_PARALLEL. Remove BUILT_IN_GOAC