Re: [PATCH] Fix PR67783, quadraticness in IPA inline analysis

2015-10-11 Thread Dominique d'Humières
> It seems there was regression on fatigue/fatigue2 > http://gcc.opensuse.org/c++bench/pb11/ Fatigue > was one of reasons to intorduce the heuristics, so it may be related to the > patch :( The test in pr 64099 comment 14 now requires -fwhole-program to inline the subroutine perdida: [Book15]

Re: Fix more of C/fortran canonical type issues

2015-10-11 Thread Dominique d'Humières
Honza, > this is a variant of patch I commited (adding the suggested predicate) This caused https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67923 Probably related pr66238 and pr66762. TIA Dominique

Re: [1/7] Add new tree code SEXT_EXPR

2015-10-11 Thread Kugan
On 15/09/15 23:18, Richard Biener wrote: > On Mon, Sep 7, 2015 at 4:55 AM, Kugan > wrote: >> >> This patch adds support for new tree code SEXT_EXPR. > > diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c > index d567a87..bbc3c10 100644 > --- a/gcc/cfgexpand.c > +++ b/gcc/cfgexpand.c > @@ -5071,6 +

Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack

2015-10-11 Thread Alan Modra
On Sat, Oct 10, 2015 at 11:25:38PM +0200, Andreas Schwab wrote: > "Lynn A. Boger" writes: > > > Index: gcc/config/rs6000/sysv4.h > > === > > --- gcc/config/rs6000/sysv4.h (revision 228653) > > +++ gcc/config/rs6000/sysv4.h

Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack

2015-10-11 Thread Andreas Schwab
Alan Modra writes: > diff --git a/gcc/go/gospec.c b/gcc/go/gospec.c > index ca3c2d7..fbb55be 100644 > --- a/gcc/go/gospec.c > +++ b/gcc/go/gospec.c > @@ -120,8 +120,10 @@ lang_specific_driver (struct cl_decoded_option > **in_decoded_options, >/* Whether the -S option was used. */ >bool

[PATCH] gcc/ira.c: Check !HAVE_FP_INSTEAD_INSNS when frame pointer is needed and as global register

2015-10-11 Thread Chen Gang
From fadd991f87dbd5752e9b6a2cce300dfe7cc8af25 Mon Sep 17 00:00:00 2001 From: Chen Gang Date: Sun, 11 Oct 2015 22:59:35 +0800 Subject: [PATCH] gcc/ira.c: Check !HAVE_FP_INSTEAD_INSNS when frame pointer is needed and as global register For some architectures (e.g. bfin), when this case occurs, the

[PATCH, alpha]: Use ROUND_UP macro

2015-10-11 Thread Uros Bizjak
2015-10-11 Uros Bizjak * config/alpha/alpha.h (ALPHA_ROUND): Implement using ROUND_UP macro. Bootstrapped and regression tested on alphaev68-linux-gnu, committed to mainline SVN. Uros Index: config/alpha/alpha.h === --- conf

[C++ PATCH] PR c++/58566

2015-10-11 Thread Ville Voutilainen
Tested on Linux-PPC64. /cp 2015-10-11 Ville Voutilainen PR c++/58566 * lambda.c (lambda_return_type): Return error_mark_node instead of void_type_node for the error cases. /testsuite 2015-10-11 Ville Voutilainen PR c++/58566 * g++.dg/cpp0x/lambda/lambda-58566.C: New.

Re: [C++ PATCH] PR c++/58566

2015-10-11 Thread Ville Voutilainen
On 11 October 2015 at 20:05, Ville Voutilainen wrote: > Tested on Linux-PPC64. > > /cp > 2015-10-11 Ville Voutilainen > > PR c++/58566 > * lambda.c (lambda_return_type): Return error_mark_node > instead of void_type_node for the error cases. > > /testsuite > 2015-10-11 Ville Voutil

Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack

2015-10-11 Thread Ian Lance Taylor
On Sun, Oct 11, 2015 at 7:43 AM, Andreas Schwab wrote > > Please remind me why this logic isn't implemented as a target hook. > > supports_split_stack = TARGET_CAN_SPLIT_STACK; > > /* rs6000.h */ > #define TARGET_CAN_SPLIT_STACK TARGET_64BIT There is a target hook for split stack support in gcc/c

Re: [PATCH] hurd: align -p and -pg behavior on Linux

2015-10-11 Thread Samuel Thibault
Ping? (I don't have commit access) Samuel Thibault, le Sat 19 Sep 2015 14:00:23 +0200, a écrit : > On Linux, -p and -pg do not make gcc link against libc_p.a, only > -profile does (as documented in r11246), and thus people expect -p > and -pg to work without libc_p.a installed (it is actually eve

gcc-patches-get.123_...@gcc.gnu.org

2015-10-11 Thread Martin Liška

[gomp4.1] make libgomp's splay tree implementation key agnostic

2015-10-11 Thread Aldy Hernandez
Hi. I'm investigating balanced binary tree options for the multiple priorities variant of the task scheduler. In looking at the splay tree adaption in libgomp, I noticed that it requires preexisting typedefs and other definitions before including splay-tree.h. This makes it impossible to re

[BUILDROBOT] Bootstrap broken in Ada (was: [patch] header file re-ordering.)

2015-10-11 Thread Jan-Benedict Glaw
On Thu, 2015-10-08 09:37:03 -0400, Andrew MacLeod wrote: [...] > Heres the patch for reordered headers. Building as we speak. Hard to fully > verify since Ada doesn't seem to bootstrap on trunk at the moment: > > +===GNAT BUG DETECTED==+ > | 6

Re: [gomp4] remove bogus tests

2015-10-11 Thread Nathan Sidwell
On 10/10/15 11:00, Nathan Sidwell wrote: I've committed this to gomp4 branch. Both these tests are trying an 'acc loop' outside of an offload region. That's an error. Missed that goacc/nesting-1 had 2 bogus loops. nathan 2015-10-11 Nathan Sidwell * c-c++-common/goacc/nesting-1.c: Rem

Re: [PR c/64765, c/64880] Support OpenACC Combined Directives in C, C++

2015-10-11 Thread Nathan Sidwell
On 10/09/15 09:59, Thomas Schwinge wrote: It's s string describing the pragma as parsed thus far. Again, not documenting that as well as our usage of it is totally "standard", see OpenMP's cp_parser_omp_parallel, cp_parser_omp_for, and many more. Ok, I'm not going to hold this to a higher th

Re: [BUILDROBOT] Bootstrap broken in Ada

2015-10-11 Thread Jeff Law
On 10/11/2015 02:58 PM, Jan-Benedict Glaw wrote: On Thu, 2015-10-08 09:37:03 -0400, Andrew MacLeod wrote: [...] Heres the patch for reordered headers. Building as we speak. Hard to fully verify since Ada doesn't seem to bootstrap on trunk at the moment: +===GNAT BUG D

Re: [BUILDROBOT] Bootstrap broken in Ada

2015-10-11 Thread Jan Hubicka
> On 10/11/2015 02:58 PM, Jan-Benedict Glaw wrote: > >On Thu, 2015-10-08 09:37:03 -0400, Andrew MacLeod > >wrote: > >[...] > >>Heres the patch for reordered headers. Building as we speak. Hard to fully > >>verify since Ada doesn't seem to bootstrap on trunk at the moment: > >> > >>+

Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack

2015-10-11 Thread Alan Modra
On Sun, Oct 11, 2015 at 11:29:36AM -0700, Ian Lance Taylor wrote: > On Sun, Oct 11, 2015 at 7:43 AM, Andreas Schwab wrote > > > > Please remind me why this logic isn't implemented as a target hook. > > > > supports_split_stack = TARGET_CAN_SPLIT_STACK; > > > > /* rs6000.h */ > > #define TARGET_CAN

[gomp4] internal fn cleanup

2015-10-11 Thread Nathan Sidwell
I've committed this to gomp4 1) move IFN_UNIQUE constants to the IFN_UNIQUE function definition 2) Update IFN_GOACC_REDUCTION_* comments to match the renamed oacc_device_lower pass. nathan 2015-10-11 Nathan Sidwell * internal-fn.def (IFN_UNIQUE_UNSPEC, IFN_UNIQUE_OACC_FORK, IFN_UNIQUE_O

[PATCH] Refactoring FSM bits into their own file

2015-10-11 Thread Jeff Law
This was spurred a bit by the need to fix 67892, which is a problem with the old threader's support for threading across backedges. I've indicated in the past that I'd like to simply drop that code. It's fragile and generally just a PITA. The functionality would be replaced by Sebastian's FS

RE: [RFC, Patch]: Optimized changes in the register used inside loop for LICM and IVOPTS.

2015-10-11 Thread Ajit Kumar Agarwal
-Original Message- From: Bin.Cheng [mailto:amker.ch...@gmail.com] Sent: Friday, October 09, 2015 8:15 AM To: Ajit Kumar Agarwal Cc: GCC Patches; Vinod Kathail; Shail Aditya Gupta; Vidhumouli Hunsigida; Nagaraju Mekala Subject: Re: [RFC, Patch]: Optimized changes in the register used ins

Re: [DOC PATCH]: Mention that x86-64 now supports stack realignment from word-aligned stack pointer

2015-10-11 Thread Gerald Pfeifer
On Thu, 8 Oct 2015, Uros Bizjak wrote: > Attached patch documents new functionality in gcc-6 release notes. >x86-64 targets now allow stack realignment from word-aligned stack >pointer Something seems to be missing/odd here? "a word-aligned stack pointer" or "word-aligned stack

Possible patch for PR fortran/67806

2015-10-11 Thread Louis Krupp
The problem involves a derived type with a character component declared CHARACTER(NULL()) or CHARACTER(NULL(n)), where mold argument n is an integer pointer. I might be missing something, but I'm not sure there's a point to having a character variable whose length is the target of a null pointe

Do not drop PURE/CONST flags when reading profile feedback

2015-10-11 Thread Jan Hubicka
Hi, tree_profiling clears PURE/CONST flags on all functions it touches. This is from the times when optimization and instrumentation was mixed and it was necessary to keep things synchronized so early optimization of later functions is not affected by the instrumentation. This is no longer case f

Make cgraph frequencies more precise

2015-10-11 Thread Jan Hubicka
Hi, this patch fixes a case of extreme imprecision I noticed while looking into profiles of PHP interpretter. There is a function that is called 22 times and contains the main loop. Now since the frequency of entry block is dropped to 0, we do not have any information of relative frequencies in th