[RFC] Dejagnu patch to handle multi-line directives

2017-06-10 Thread Tom de Vries
Hi, one thing that has bothered me on a regular basis is the inability to spread long dejagnu directives over multiple lines. I've written a demonstrator patch (for the dejagnu sources) and tested it by splitting this 108 chars line: ... /* { dg-additional-options "-DSTACK_SIZE=[dg-effective

Re: [RFC] Dejagnu patch to handle multi-line directives

2017-06-10 Thread Tom de Vries
[ attached patch ] On 06/10/2017 09:57 AM, Tom de Vries wrote: Hi, one thing that has bothered me on a regular basis is the inability to spread long dejagnu directives over multiple lines. I've written a demonstrator patch (for the dejagnu sources) and tested it by splitting this 108 chars

[wwwdocs] www.openacc.org switched to https

2017-06-10 Thread Gerald Pfeifer
Applied. Gerald Index: htdocs/gcc-6/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-6/changes.html,v retrieving revision 1.99 diff -u -r1.99 changes.html --- htdocs/gcc-6/changes.html 7 Apr 2017 07:16:59 - 1.99 +++

[doc] www.openacc.org switched to https

2017-06-10 Thread Gerald Pfeifer
2017-06-10 Gerald Pfeifer * doc/generic.texi (OpenACC): Adjust URL. * doc/invoke.texi (C Dialect Options): Ditto. Applied. Gerald Index: doc/generic.texi === --- doc/generic.texi(revision 249091) +++ doc/gene

Re: [PATCH PR78005]Fix miscompare issue by computing correct guard condition for vectorized loop

2017-06-10 Thread Richard Sandiford
Sorry to return this old patch, but: Bin Cheng writes: > -/* Calculate the number of iterations under which scalar loop will be > - preferred than vectorized loop. NITERS_PROLOG is the number of > - iterations of prolog loop. If it's integer const, the integer > - number is also passed by

Re: [PATCH, ARM/AArch64] drop aarch32 support for falkor/qdf24xx

2017-06-10 Thread Richard Earnshaw (lists)
On 09/06/17 21:03, Jim Wilson wrote: > On Thu, May 25, 2017 at 2:25 AM, Richard Earnshaw (lists) > wrote: >> Having pondered this over night, I think the lowest risk thing to do, >> provided it applies cleanly to the gcc-7 branch, is just commit the >> entire patch on the branch and be done with i

Re: [PATCH GCC8][32/33]Save niter check for vect peeling if loop versioning is required

2017-06-10 Thread Richard Sandiford
Another one sorry, but: Bin Cheng writes: > diff --git a/gcc/tree-vect-loop.c b/gcc/tree-vect-loop.c > index af874e7..98caa5e 100644 > --- a/gcc/tree-vect-loop.c > +++ b/gcc/tree-vect-loop.c > @@ -2214,6 +2214,36 @@ start_over: > } > } > > + /* During peeling, we need to check if

RE: [testsuite]MIPS remove duplicate div-x test

2017-06-10 Thread Maciej W. Rozycki
On Sun, 4 Jun 2017, Matthew Fortune wrote: > > > There are duplicate testcase in gcc.target/mips dir. > > > > > > div-5.c same as div-9.c. > > > div-6.c same as div-10.c. > > > div-7.c same as div-11.c. > > > div-8.c same as div-12.c. > > > > > > Is this deliberate? > > I see no evidence of this

Re: Containers default initialization

2017-06-10 Thread François Dumont
On 08/06/2017 15:22, Jonathan Wakely wrote: Oh dear, we have a compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65816 And not a recent one ! which takes place only if I call this: test_type *tmp = ::new(buf._M_addr()) test_type {}; To force default/value init looks like gcc forc

Fix profile updating during inlining

2017-06-10 Thread Jan Hubicka
Hi, this counter update causes quite few profile mismatches. What happens is that during inlining the counts in cgrah does not necessarily match counts in the underlying cfgs of functoins. This is because cgraph represents the inline plan and when function was inlined its actual profile needs to b

Re: [PATCH][SPARC] PR target/80968 Prevent stack loads in return delay slot.

2017-06-10 Thread David Miller
From: Eric Botcazou Date: Fri, 09 Jun 2017 22:13:20 +0200 >> Eric, after some more testing it turns out that we need something >> more for gcc-5 and gcc-6 to cover all cases. > > Hmm, yes, I should have thought of that... > >> The problem is that before gcc-7, the compiler can emit return >> in

Re: [config PATCH] --enable-languages

2017-06-10 Thread Gerald Pfeifer
On Wed, 24 May 2017, Nathan Sidwell wrote: Thus: configure: WARNING: GNAT is required to build ada configure: WARNING: --enable-host-shared required to build jit Nice. I'll commit this version in a few days, if there are no objections. Thanks for doing this! Gerald

Re: [PING^2] for three diagnostic-related patches

2017-06-10 Thread Gerald Pfeifer
On Mon, 5 Jun 2017, Volker Reichelt wrote: > I'd like to re-ping those patches below before they > start to bit-rot ;-) >> Fix-it hints for wrong usage of 'friend' and 'auto': >> https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01575.html >> >> And finally, a follow-up patch: >> https://gcc.gnu.org/

[PATCH 2/2] rs6000: Factor out emit_vrsave_prologue

2017-06-10 Thread Segher Boessenkool
This is a second patch to make the prologue code more manageable. Tested on powerpc64-linux {-m32,-m64} and on powerpc64le-linux; committing to trunk. Segher 2017-06-10 Segher Boessenkool * config/rs6000/rs6000.c (emit_vrsave_prologue): New function, factored out from ...

[PATCH 1/2] rs6000: Factor out emit_split_stack_prologue

2017-06-10 Thread Segher Boessenkool
This is a first patch to make the prologue code more manageable. Tested on powerpc64-linux {-m32,-m64} and on powerpc64le-linux; committing to trunk. Segher 2017-06-10 Segher Boessenkool * config/rs6000/rs6000.c (emit_split_stack_prologue): New function, factored out from ..

Make profile scaling during cloning more precise

2017-06-10 Thread Jan Hubicka
Hi, this patch makes profile scaling to use same logic in tree-inline and cgraphclones. This reduces roundoff errors and makes it more easy to propagate more info. Compiling tramp3d with profile feedback the number of mismatches after inlining goes down from 248 to 95. Honza * cgraph.h (

Fix profile updating during inline transform

2017-06-10 Thread Jan Hubicka
Hi, while at beggining of inline_transform, the count of cgraph node may not make count of the entry block of the cfg. This is because we may have inlined the function and some of execution count has been subtracted. For this reason profile neds to be rescaled that is done by fixup_cfg. Because fi

[ping x2] Re: [PATCH] Fix expand_builtin_atomic_fetch_op for pre-op (PR80902)

2017-06-10 Thread Segher Boessenkool
Ping. On Wed, May 31, 2017 at 08:19:56AM -0500, Segher Boessenkool wrote: > Ping. > > (Sorry for the very aggressive ping; this fixes 764 testsuite failures > on powerpc-linux). > > > Segher > > > On Sun, May 28, 2017 at 12:31:12PM +, Segher Boessenkool wrote: > > __atomic_add_fetch adds

Re: [PATCH] PR libstdc++/80939 Remove unmeetable constexpr specifiers

2017-06-10 Thread Tim Song
On Fri, Jun 2, 2017 at 9:07 AM, Jonathan Wakely wrote: > we aren't qualifying calls to __ref_cast, Turns out this is fine. I somehow managed to completely misread the last sentence of [basic.lookup.argdep]/2. It's talking about the case where an argument to the call is a set of overloaded functio

Re: [RFC] Dejagnu patch to handle multi-line directives

2017-06-10 Thread Segher Boessenkool
Hi! On Sat, Jun 10, 2017 at 10:03:04AM +0200, Tom de Vries wrote: > >/* { dg-additional-options } > >{ dg-dc "-DSTACK_SIZE=[dg-effective-target-value stack_size]" } > >{ dg-dc { target { stack_size } } } */ > >... > > > >Good idea to fix this? I like it. What is the exact semantics though