[C++] Fix PR bootstrap/81926

2017-09-02 Thread Eric Botcazou
Hi, this is the bootstrap failure reported for the 7 branch on SPARC64/Solaris: Comparing stages 2 and 3 Bootstrap comparison failure! gcc/go/parse.o differs make[2]: *** [compare] Error 1 On Solaris, the bootstrap is usually an old-style bootstrap, meaning that the debug info is generated duri

Re: [PATCH] Add UBSAN_{PTR,BOUNDS} folding (PR sanitizer/81981, take 2)

2017-09-02 Thread Richard Biener
On September 1, 2017 10:28:16 PM GMT+02:00, Jakub Jelinek wrote: >On Fri, Sep 01, 2017 at 07:10:51PM +0200, Richard Biener wrote: >> OK, I thought we have one. Can you add a helper for it please? >> replace_with_nop or so? I thought there's maybe replace_with_value >which >> handles null lhs b

Re: [PATCH] Fix gdbhooks.py

2017-09-02 Thread Richard Biener
On September 1, 2017 10:36:05 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >I'm seeing on the trunk errors like: >Traceback (most recent call last): > File "", line 1, in > File "../../gcc/gdbhooks.py", line 441 >if name == 'E_VOIDmode': > ^ >TabError: inconsistent u

Re: [PATCH] Fix a pasto in lra-remat.c (reg_overlap_for_remat_p)

2017-09-02 Thread Richard Biener
On September 1, 2017 10:33:10 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >This is something that has been reported privately to me. >This is in code introduced in >https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00660.html >and looks indeed like a pasto to me, before the loop there is >a very simila

[PATCH, alpha] Don't refer to -mfp-trap-mode=n as a default

2017-09-02 Thread Maya Rashish
The typical usage on alpha is done with passing -mieee, which sets -mfp-trap-mode=su. I found it confusing, at least. --- gcc/doc/invoke.texi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f7bad9d23..acdb17ba5 100644 --- a/

Re: [C++] Fix PR bootstrap/81926

2017-09-02 Thread Richard Biener
On September 2, 2017 1:01:11 PM GMT+02:00, Eric Botcazou wrote: >Hi, > >this is the bootstrap failure reported for the 7 branch on >SPARC64/Solaris: > >Comparing stages 2 and 3 >Bootstrap comparison failure! >gcc/go/parse.o differs >make[2]: *** [compare] Error 1 > >On Solaris, the bootstrap is u

Re: backwards threader cleanups

2017-09-02 Thread Aldy Hernandez
On Fri, Sep 1, 2017 at 10:16 PM, Trevor Saunders wrote: > On Fri, Sep 01, 2017 at 04:18:20PM -0400, Aldy Hernandez wrote: >> Hi. >> >> Attached are misc cleanups to tree-ssa-threadbackwards.c and friends. >> The main gist of the patch is making the path vectors live in the >> heap, not GC. But I

Re: backwards threader cleanups

2017-09-02 Thread Aldy Hernandez
On Fri, Sep 1, 2017 at 6:11 PM, Jeff Law wrote: > On 09/01/2017 02:18 PM, Aldy Hernandez wrote: >> Hi. >> >> Attached are misc cleanups to tree-ssa-threadbackwards.c and friends. >> The main gist of the patch is making the path vectors live in the >> heap, not GC. But I also cleaned up some comme

Re: [RFC, vectorizer] Allow single element vector types for vector reduction operations

2017-09-02 Thread Andreas Schwab
single element vector types. > */ > + if (nunits < 1) > return NULL_TREE; > >vectype = build_vector_type (scalar_type, nunits); > > > That breaks vect/pr68577.c on aarch64. during RTL pass: expand /opt/gcc/gcc-20170902/gcc/testsuite/gcc.dg/vect/pr685

[PING] [PATCH] detect incompatible aliases (PR c/81854)

2017-09-02 Thread Martin Sebor
Jeff, this is the other attribute patch I mentioned the other day: https://gcc.gnu.org/ml/gcc-patches/2017-08/msg01103.html The Glibc and libstdc++ changes have already been committed: https://sourceware.org/ml/glibc-cvs/2017-q3/msg00587.html https://gcc.gnu.org/ml/gcc-cvs/2017-08/msg00459

Re: [PATCH 0/2] add unique_ptr class

2017-09-02 Thread Trevor Saunders
HI, figured I'd ping this to see if we can come to some concensus, I don't care much what we choose as a namespace, I just want to get this in so we can use it more. On Fri, Aug 11, 2017 at 09:43:21PM +0100, Jonathan Wakely wrote: > On 05/08/17 20:05 +0100, Pedro Alves wrote: > > On 08/04/2017 07