Re: [GSoC] Patches for shared_ptr array and polymorphic_allocator

2015-07-18 Thread Tim Shen
On Fri, Jul 17, 2015 at 7:16 PM, Fan You wrote: > Hi, > > According to > > > Here is my implementation of > > [8.2] Extend shared_ptr to support arrays Please don't resend the shared_ptr patch, since it's alread

[gomp4, committed] Fix OACC_LOOP usage in goacc tests

2015-07-18 Thread Tom de Vries
Hi Chung-Lin, when compiling f.i. kernels-loop-acc-loop.c with -Wall, I ran into: ... In file included from kernels-loop-acc-loop.c:8:0: kernels-loop.c: In function ‘main’: kernels-loop.c:30:0: warning: ignoring #pragma ACC_LOOP [-Wunknown-pragmas] ... kernels-loop-acc-loop.c contains: ... #def

[gomp4, committed] Obvious -Wall fixes in openacc tests

2015-07-18 Thread Tom de Vries
Hi, I've committed these three obvious patches that fix -Wall warnings in openacc test-cases to gomp-4_0-branch. Thanks, - Tom Add missing return in private-reduction-1.c 2015-07-17 Tom de Vries * c-c++-common/goacc/private-reduction-1.c (reduction): Add missing return. --- gcc/testsui

Re: [PR64164] drop copyrename, integrate into expand

2015-07-18 Thread Alexandre Oliva
On Jul 16, 2015, Alexandre Oliva wrote: > So, I decided to run a ppc64le-linux-gnu bootstrap, just in case, and > there are issues with split complex parms that caused go and fortran > libs to fail the build. This incremental patch, along with the previously-posted patches, fix split complex arg

Re: [PATCH] 2015-07-14 Benedikt Huber Philipp Tomsich

2015-07-18 Thread Andrew Pinski
On Fri, Jul 17, 2015 at 8:43 AM, Benedikt Huber wrote: > * config/aarch64/aarch64-builtins.c: Builtins > for rsqrt and rsqrtf. > * config/aarch64/aarch64-protos.h: Declare. > * config/aarch64/aarch64-simd.md: Matching expressions > for frsqrte and frsqrts. >

Re: [PATCH] 2015-07-14 Benedikt Huber Philipp Tomsich

2015-07-18 Thread Andrew Pinski
On Sat, Jul 18, 2015 at 1:25 AM, Andrew Pinski wrote: > On Fri, Jul 17, 2015 at 8:43 AM, Benedikt Huber > wrote: >> * config/aarch64/aarch64-builtins.c: Builtins >> for rsqrt and rsqrtf. >> * config/aarch64/aarch64-protos.h: Declare. >> * config/aarch64/aarch64-sim

Re: Still crashes due to aliasing violation (Re: [RFC, PATCH] Split pool_allocator and create a new object_allocator)

2015-07-18 Thread Richard Biener
On July 17, 2015 11:28:28 PM GMT+02:00, Ulrich Weigand wrote: >On July 17, 2015 6:54:32 PM GMT+02:00, Ulrich Weigand > wrote: >> >So do we now consider host compilers < 4.3 (4?) unsupported for >> >building >> >mainline GCC, or should we try to work around the issue (e.g. by >moving >> >the alloc

[PATCH, i386]: fix PR 66922, wrong code for bit-field struct

2015-07-18 Thread Uros Bizjak
We have to reject misaligned insertions and extractions from ix86_expand_pextr and ix86_expand_pinsr. 2015-07-18 Uros Bizjak PR target/66922 * config/i386/i386.c (ix86_expand_pextr): Reject extractions from misaligned positions. (ix86_expand_pinsr): Reject insertions to misali

Re: [PATCH, MIPS] Scheduling for M51xx core family

2015-07-18 Thread Richard Sandiford
Robert Suchanek writes: > @@ -771,7 +771,8 @@ struct mips_cpu_info { > > /* Infer a -mnan=2008 setting from a -mips argument. */ > #define MIPS_ISA_NAN2008_SPEC \ > - "%{mnan*:;mips32r6|mips64r6:-mnan=2008}" > + "%{mnan*:;mips32r6|mips64r6:-mnan=2008;march=m51*: \ > +

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

2015-07-18 Thread Thomas Schwinge
Hi Nathan! On Thu, 09 Jul 2015 20:25:22 -0400, Nathan Sidwell wrote: > This is the patch I committed. [...] Prompted by your recent "-O0 patch" to »[f]ix PTX worker spill/fill«, I used the attached patch 0001-O0-libgomp-C-C-testing.patch to run all C and C++ libgomp testing with -O0 (for Fortra

Re: [PATCH][combine][1/2] Try to simplify before substituting

2015-07-18 Thread Segher Boessenkool
On Fri, Jul 17, 2015 at 02:47:34PM -0600, Jeff Law wrote: > >>I mean move the whole "if (BINARY_P ..." block to after the existing > >>simplify calls, to just before the "First see if we can apply" comment, > >>and not do a new simplify_rtx call at all. Does that work? > > > >Yes, and here's the p

RE: [PATCH, MIPS] Scheduling for M51xx core family

2015-07-18 Thread Matthew Fortune
Richard Sandiford writes: > Robert Suchanek writes: > > @@ -771,7 +771,8 @@ struct mips_cpu_info { > > > > /* Infer a -mnan=2008 setting from a -mips argument. */ > > #define MIPS_ISA_NAN2008_SPEC \ > > - "%{mnan*:;mips32r6|mips64r6:-mnan=2008}" > > + "%{mnan*:;mips32r6|mips64r6:-mnan=2008;m

[PATCH] fix compilation of vmsdbgout.c

2015-07-18 Thread tbsaunde+gcc
From: Trevor Saunders The debug-early branch renamed vmsdbgout_decl to vmsdbgout_function_decl, but didn't update its prototype. checked that the alpha and ia64 vms targets in config-list.mk can now build all-gcc, and committing to trunk as obvious. Trev gcc/ChangeLog: 2015-07-18 Trevor Saun

[PATCH] PR rtl-optimization/66790: uninitialized registers handling in REE

2015-07-18 Thread Pierre-Marie de Rodat
Hello, This patch is an attempt to fix PR rtl-optimization/66790: please see for the context. This adds a new dataflow problem (MIR for Must-Initialized Registers) and use it in the REE pass to remove oversights, fixing the original issue.

Re: [PATCH][AArch64] Use cinc for if_then_else of plus-immediates

2015-07-18 Thread Andrew Pinski
On Thu, Jul 16, 2015 at 8:33 AM, Kyrill Tkachov wrote: > Hi all, > > This patch improves codegen for expressions of the form: > (x ? y + c1 : y + c2) when |c1 - c2| == 1 > > It matches the if_then_else of the two plus-immediates, > performs one of them, then generates a conditional increment > ope

Re: [PATCH][AArch64] Use cinc for if_then_else of plus-immediates

2015-07-18 Thread Oleg Endo
On 19 Jul 2015, at 12:13, Andrew Pinski wrote: > On Thu, Jul 16, 2015 at 8:33 AM, Kyrill Tkachov > wrote: >> Hi all, >> >> This patch improves codegen for expressions of the form: >> (x ? y + c1 : y + c2) when |c1 - c2| == 1 >> >> It matches the if_then_else of the two plus-immediates, >> pe