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 youfan.n...@gmail.com wrote: Hi, According to http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4335.html#memory.smartptr Here is my implementation of [8.2] Extend shared_ptr to support arrays Please don't resend the shared_ptr patch, since

Re: [PR64164] drop copyrename, integrate into expand

2015-07-18 Thread Alexandre Oliva
On Jul 16, 2015, Alexandre Oliva aol...@redhat.com 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

[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 t...@codesourcery.com * c-c++-common/goacc/private-reduction-1.c (reduction): Add missing

Re: [PATCH] 2015-07-14 Benedikt Huber benedikt.hu...@theobroma-systems.com Philipp Tomsich philipp.toms...@theobroma-systems.com

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

Re: [PATCH] 2015-07-14 Benedikt Huber benedikt.hu...@theobroma-systems.com Philipp Tomsich philipp.toms...@theobroma-systems.com

2015-07-18 Thread Andrew Pinski
On Sat, Jul 18, 2015 at 1:25 AM, Andrew Pinski pins...@gmail.com wrote: On Fri, Jul 17, 2015 at 8:43 AM, Benedikt Huber benedikt.hu...@theobroma-systems.com wrote: * config/aarch64/aarch64-builtins.c: Builtins for rsqrt and rsqrtf. * config/aarch64/aarch64-protos.h:

[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: ...

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 uweig...@de.ibm.com wrote: On July 17, 2015 6:54:32 PM GMT+02:00, Ulrich Weigand uweig...@de.ibm.com 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

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 nat...@acm.org 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

[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 ubiz...@gmail.com PR target/66922 * config/i386/i386.c (ix86_expand_pextr): Reject extractions from misaligned positions. (ix86_expand_pinsr): Reject

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

2015-07-18 Thread Richard Sandiford
Robert Suchanek robert.sucha...@imgtec.com 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: [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 patch. It just

[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 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 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, MIPS] Scheduling for M51xx core family

2015-07-18 Thread Matthew Fortune
Richard Sandiford rdsandif...@googlemail.com writes: Robert Suchanek robert.sucha...@imgtec.com 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} +

[PATCH] fix compilation of vmsdbgout.c

2015-07-18 Thread tbsaunde+gcc
From: Trevor Saunders tbsaunde+...@tbsaunde.org 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

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 kyrylo.tkac...@arm.com 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