[patch] Fix PR target/67265

2015-11-11 Thread Eric Botcazou
Hi, this is an ICE on an asm statement requiring a lot of registers, when compiled in 32-bit mode on x86/Linux with -O -fstack-check -fPIC: pr67265.c:10:3: error: 'asm' operand has impossible constraints The issue is that, since stack checking defines STACK_CHECK_MOVING_SP on this platform, th

Re: [PATCH 4b/4] [ARM] PR63870 Remove error for invalid lane numbers

2015-11-11 Thread Kyrill Tkachov
Hi Charles, On 08/11/15 00:26, charles.bay...@linaro.org wrote: From: Charles Baylis Charles Baylis * config/arm/neon.md (neon_vld1_lane): Remove error for invalid lane number. (neon_vst1_lane): Likewise. (neon_vld2_lane): Likewise. (neon_vst2_lane)

[PATCH] Fix PR rtl-optimization/68287

2015-11-11 Thread Martin Liška
Hi. There's a fix for fallout of r230027. Patch can bootstrap and survives regression tests on x86_64-linux-gnu. Ready for trunk? Thanks, Martin >From 127d629991d92ea42a87b84e9d88612b84dbec03 Mon Sep 17 00:00:00 2001 From: marxin Date: Wed, 11 Nov 2015 10:11:20 +0100 Subject: [PATCH 1/2] Fix PR

Re: [PATCH, 7/16] Add pass_dominator_oacc_kernels

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH, 11/16] Update testcases after adding kernels pass group

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

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

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH, 4/16] Implement -foffload-alias

2015-11-11 Thread Jakub Jelinek
On Wed, Nov 11, 2015 at 11:51:02AM +0100, Richard Biener wrote: > > The option -foffload-alias=pointer instructs the compiler to assume that > > objects references in an offload region do not alias. > > > > The option -foffload-alias=all instructs the compiler to make no > > assumptions about alia

Re: [PATCH, 6/16] Add pass_oacc_kernels

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH, 5/16] Add in_oacc_kernels_region in struct loop

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH, 4/16] Implement -foffload-alias

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH, 2/16] Make create_parallel_loop return void

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH, 1/16] Insert new exit block only when needed in transform_to_exit_first_loop_alt

2015-11-11 Thread Richard Biener
On Mon, 9 Nov 2015, Tom de Vries wrote: > On 09/11/15 16:35, Tom de Vries wrote: > > Hi, > > > > this patch series for stage1 trunk adds support to: > > - parallelize oacc kernels regions using parloops, and > > - map the loops onto the oacc gang dimension. > > > > The patch series contains thes

Re: [PATCH][AArch64][v2] Improve comparison with complex immediates followed by branch/cset

2015-11-11 Thread Kyrill Tkachov
Ping. https://gcc.gnu.org/ml/gcc-patches/2015-11/msg00233.html Thanks, Kyrill On 03/11/15 15:43, Kyrill Tkachov wrote: Hi all, This patch slightly improves sequences where we want to compare against a complex immediate and branch against the result or perform a cset on it. This means transform

[PATCH, committed] PR67826 gcc/fortran/openmp.c:1808: bad test ?

2015-11-11 Thread Dominique d'Humières
I have committed on trunk the following patch as revision r230148 (preapproved by Jakub Jelinek and tested on x86_64-apple-darwin14) Index: gcc/fortran/ChangeLog === --- gcc/fortran/ChangeLog (revision 230147) +++ gcc/fortran/C

Re: [Patch] PR tree-optimization/68234 Improve range info for loop Phi node

2015-11-11 Thread Richard Biener
On Wed, 11 Nov 2015, Jiong Wang wrote: > As discussed at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68234, this > patch haven't touch the existed code logic in vrp_visit_phi_node, it > only entends SCEV check to those VR_VARYING loop PHI node. > > Previously, we only do this check if the PHI no

Re: [PATCH 03/N] Just another set of memory leaks

2015-11-11 Thread Richard Biener
On Wed, Nov 11, 2015 at 10:04 AM, Martin Liška wrote: > Hi. > > There are new fixed for memory leaks, where the following: > > ==19826== 21 bytes in 1 blocks are definitely lost in loss record 16 of 625 > ==19826==at 0x4C2A00F: malloc (in > /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.s

Re: Short-cut generation of simple built-in functions

2015-11-11 Thread Richard Biener
On Tue, Nov 10, 2015 at 10:24 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Sat, Nov 7, 2015 at 2:31 PM, Richard Sandiford >> wrote: >>> This patch short-circuits the builtins.c expansion code for a particular >>> gimple call if: >>> >>> - the function has an associated internal fu

[patch] libstdc++/64651 allow rethrow_exception to be found by ADL

2015-11-11 Thread Jonathan Wakely
As I wrote in the PR, the standard doesn't require that std::rethrow_exception can be found by ADL, because exception_ptr is not necessarily defined in namespace std. This ensures it will be found. Tested powerpc64le-linux, committed to trunk. commit 920a18f991d3604bf2dfdf9679411b012964f23d Autho

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 > >

[patch] libstdc++/56158 Extend valid values of iostream bitmask types

2015-11-11 Thread Jonathan Wakely
As described in the PR, we have operator~ overloads defined for enumeration types which produce values outside the range of valid values for the type. In C++11 that can be trivially solved by giving the enumeration types a fixed underlying type, but this code needs to be valid in C++03 too. This

[Patch] PR tree-optimization/68234 Improve range info for loop Phi node

2015-11-11 Thread Jiong Wang
As discussed at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68234, this patch haven't touch the existed code logic in vrp_visit_phi_node, it only entends SCEV check to those VR_VARYING loop PHI node. Previously, we only do this check if the PHI node is with valid range info but later dropped eit

Re: Enable pointer TBAA for LTO

2015-11-11 Thread Richard Biener
On Tue, 10 Nov 2015, Jan Hubicka wrote: > > > Index: tree.c > > > === > > > --- tree.c(revision 229968) > > > +++ tree.c(working copy) > > > @@ -13198,6 +13198,7 @@ gimple_canonical_types_compatible_p (con > > >/*

Re: [PATCH] Simple optimization for MASK_STORE.

2015-11-11 Thread Richard Biener
On Tue, Nov 10, 2015 at 3:56 PM, Ilya Enkovich wrote: > 2015-11-10 17:46 GMT+03:00 Richard Biener : >> On Tue, Nov 10, 2015 at 1:48 PM, Ilya Enkovich >> wrote: >>> 2015-11-10 15:33 GMT+03:00 Richard Biener : On Fri, Nov 6, 2015 at 2:28 PM, Yuri Rumyantsev wrote: > Richard, > >

[PATCH 03/N] Just another set of memory leaks

2015-11-11 Thread Martin Liška
Hi. There are new fixed for memory leaks, where the following: ==19826== 21 bytes in 1 blocks are definitely lost in loss record 16 of 625 ==19826==at 0x4C2A00F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==19826==by 0x16868D7: xmalloc (xmalloc.c:148) ==19826==

RE: [RFC][PATCH] Preferred rename register in regrename pass

2015-11-11 Thread Robert Suchanek
Hi, > I guess this is ok to stop the failures for now, but you may want to > move the check to the point where we set terminated_this_insn. Also, as > I pointed out earlier, clearing terminated_this_insn should probably > happen earlier. Here is the updated patch that I'm about to commit once the

Re: [OpenACC] declare directive

2015-11-11 Thread Jakub Jelinek
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 > @@ -30,6 +30,7 @@ enum pragma_kind { >PRAGMA_OACC_ATOMIC, >PRAGMA_

[PATCH] gcc: configure: fix test == bashisms

2015-11-11 Thread Mike Frysinger
--- gcc/ChangeLog| 5 + gcc/configure| 4 ++-- gcc/configure.ac | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea15ada..e3a0432 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-10 Mike Frysinger + +

Re: OpenACC Firstprivate

2015-11-11 Thread Jakub Jelinek
On Tue, Nov 10, 2015 at 09:12:55AM -0500, Nathan Sidwell wrote: > + /* Create a local object to hold the instance > +value. */ > + tree inst = create_tmp_var > + (TREE_TYPE (TREE_TYPE (new_var)), > +IDENTIFIE

<    1   2