C++ PATCH for missing feature test macros

2015-10-19 Thread Jason Merrill
Someone pointed out that we were missing feature test macros for some recently implemented C++1z features; this patch fixes that. Tested x86_64-pc-linux-gnu, applying to trunk. commit cb8271fe1b49b984fa38dc6cf1d3ed25462afd20 Author: Jason Merrill Date: Sun Oct 18 10:15:36

C++ PATCH for N4268, constant evaluation of non-type template arguments

2015-10-19 Thread Jason Merrill
N4268 is the last bullet point remaining for C++1z features until Saturday, when presumably more stuff will be added. The basic functionality is quite straightforward: first generalize parsing, then pass all arguments through maybe_constant_value. But to get correct handling of pointers to

Re: [PATCH] c/67925 - update documentation on `inline'

2015-10-19 Thread Jeff Law
On 10/15/2015 06:25 AM, Arkadiusz Drabczyk wrote: On Wed, Oct 14, 2015 at 06:18:03PM -0600, Martin Sebor wrote: >On 10/14/2015 03:42 PM, Arkadiusz Drabczyk wrote: > >On Wed, Oct 14, 2015 at 08:36:43AM -0600, Martin Sebor wrote: > >>On 10/13/2015 04:47 PM, Arkadiusz Drabczyk wrote: > >>>*

Re: [PATCH, rs6000] Pass --secure-plt to the linker

2015-10-19 Thread Alan Modra
On Mon, Oct 19, 2015 at 08:10:32PM +0100, Szabolcs Nagy wrote: > On 19/10/15 14:04, Szabolcs Nagy wrote: > >On 19/10/15 12:12, Alan Modra wrote: > >>On Thu, Oct 15, 2015 at 06:50:50PM +0100, Szabolcs Nagy wrote: > >>>A powerpc toolchain built with (or without) --enable-secureplt > >>>currently

Re: using scratchpads to enhance RTL-level if-conversion: revised patch

2015-10-19 Thread Jeff Law
On 10/14/2015 01:15 PM, Bernd Schmidt wrote: On 10/14/2015 07:43 PM, Jeff Law wrote: Obviously some pessimization relative to current code is necessary to fix some of the problems WRT thread safety and avoiding things like introducing faults in code which did not previously fault. Huh? This

Re: [PATCH 1/3] [ARM] PR63870 Add qualifiers for NEON builtins

2015-10-19 Thread Alan Lawrence
On 14/10/15 23:02, Charles Baylis wrote: On 12 October 2015 at 11:58, Alan Lawrence wrote: > Given we are making changes here to how this all works on bigendian, have you tested armeb at all? I tested on big endian, and it passes, except Well, I asked because it

Re: [vec-cmp, patch 7/6] Vector comparison enabling in SLP

2015-10-19 Thread Jeff Law
On 10/19/2015 05:06 AM, Ilya Enkovich wrote: Hi, It appeared our testsuite doesn't have a test which would require vector comparison support in SLP even after boolean pattern disabling. This patch adds such tests and allow comparison for SLP. Is it OK? Thanks, Ilya -- gcc/ 2015-10-19

Re: [PR fortran/63858] Fix mix of OpenACC and OpenMP sentinels in continuations

2015-10-19 Thread Thomas Schwinge
Hi! Ping... On Fri, 9 Oct 2015 12:15:24 +0200, I wrote: > On Mon, 27 Jul 2015 16:14:17 +0200, I wrote: > > On Tue, 30 Jun 2015 03:39:42 +0300, Ilmir Usmanov wrote: > > > 08.06.2015, 17:59, "Cesar Philippidis" : > > > > On 06/07/2015 02:05 PM, Ilmir Usmanov

[HSA] Class refactoring

2015-10-19 Thread Martin Liška
Hello. Following tarball is made of patches that rename class member variables to respect C++ coding style, where all member variables should begin with 'm_'. Martin hsa-class-refactoring.tar.bz2 Description: application/bzip

Re: Move cabs simplifications to match.pd

2015-10-19 Thread Richard Biener
On October 19, 2015 4:42:23 PM GMT+02:00, Richard Sandiford wrote: >The fold code also expanded cabs(x+yi) to fsqrt(x*x+y*y) when >optimising >for speed. tree-ssa-math-opts.c has this transformation too, but >unlike >the fold code, it first checks whether the target

[gomp4] auto partitioning

2015-10-19 Thread Nathan Sidwell
I've committed this patch to gomp4 branch. It implements handling of the 'auto' clause on a loop. such loops can be implicitly partitioned, if they are (explicitly or implicitly) 'independent'. This patch walks the loop structure after explicit partitioning has been handled, and attempts to

Re: PING^2: [PATCH] Limit alignment on error_mark_node variable

2015-10-19 Thread Bernd Schmidt
On 10/20/2015 12:07 AM, H.J. Lu wrote: On Thu, Jul 09, 2015 at 03:57:31PM +0200, Richard Biener wrote: I don't see why the C FE would need to invoke finish_decl twice here. [...] So I'd rather have the C frontend not invoke rest_of_decl_compilation on this in the first place. Your patch

Re: [RFC VTV] Fix VTV for targets that have section anchors.

2015-10-19 Thread Jeff Law
On 10/13/2015 06:53 AM, Ramana Radhakrishnan wrote: On 12/10/15 21:44, Jeff Law wrote: On 10/09/2015 03:17 AM, Ramana Radhakrishnan wrote: This started as a Friday afternoon project ... It turned out enabling VTV for AArch64 and ARM was a matter of fixing PR67868 which essentially comes

[PATCH] Don't allow FSM threader to create irreducible loops unless it eliminates a multi-way branch

2015-10-19 Thread Jeff Law
If I hack up GCC's old jump threader to avoid threading across backedges and instead let the FSM threader handle that case, then we end up with cases where the FSM threader creates irreducible loops with marginal benefit. This can be seen in ssa-dom-thread-2{d,e,f}.c. We've long avoided such

OpenACC async clause regressions (was: [gomp4.1] Add new versions of GOMP_target{,_data,_update} and GOMP_target_enter_exit_data)

2015-10-19 Thread Thomas Schwinge
Hi! Chung-Lin, would you please have a look at the following (on gomp-4_0-branch)? Also, anyone else got any ideas off-hand? On Tue, 23 Jun 2015 13:51:39 +0200, Jakub Jelinek wrote: > On Tue, Jun 23, 2015 at 02:40:43PM +0300, Ilya Verbin wrote: > > On Sat, Jun 20, 2015 at

Re: Fix prototype for print_insn in rtl.h

2015-10-19 Thread Jeff Law
On 10/19/2015 09:14 AM, Jeff Law wrote: On 10/15/2015 10:28 AM, Andrew MacLeod wrote: On 10/13/2015 11:32 AM, Jeff Law wrote: On 10/13/2015 02:21 AM, Nikolai Bozhenov wrote: 2015-10-13 Nikolai Bozhenov * gcc/rtl.h (print_insn): fix prototype Installed on the

Re: [patch] fix gotools cross build

2015-10-19 Thread Ian Lance Taylor
On Wed, May 6, 2015 at 5:34 AM, Matthias Klose wrote: > > Yes, it's documented that there is still some work to do for cross builds, > however a cross build for gotools currently fails. > > The toplevel make always passes the GOC variable in the environment, > overwriting >

Re: OpenACC async clause regressions (was: [gomp4.1] Add new versions of GOMP_target{,_data,_update} and GOMP_target_enter_exit_data)

2015-10-19 Thread Ilya Verbin
On Mon, Oct 19, 2015 at 18:24:35 +0200, Thomas Schwinge wrote: > Chung-Lin, would you please have a look at the following (on > gomp-4_0-branch)? Also, anyone else got any ideas off-hand? > > PASS: libgomp.oacc-c/../libgomp.oacc-c-c++-common/data-2.c > -DACC_DEVICE_TYPE_nvidia=1

Forwarding -foffload=[...] from the driver (compile-time) to libgomp (run-time)

2015-10-19 Thread Thomas Schwinge
Hi! Ping... On Wed, 30 Sep 2015 17:54:07 +0200, I wrote: > On Tue, 29 Sep 2015 10:18:14 +0200, Jakub Jelinek wrote: > > On Mon, Sep 28, 2015 at 11:39:10AM +0200, Thomas Schwinge wrote: > > > On Fri, 11 Sep 2015 17:43:49 +0200, Jakub Jelinek > > > wrote: > >

<    1   2