[PATCH] Handle new operators with no arguments in DCE.

2019-08-04 Thread Martin Liška
On 8/2/19 11:34 PM, H.J. Lu wrote: > On Tue, Jul 2, 2019 at 4:50 AM Martin Liška wrote: >> >> Second part. >> >> Martin > > This caused: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91334 > Hi. I'm sending fix for the ICE. The issue is that we can end up with a ctor without an argument (w

Re: [PATCH] Properly detect working jobserver in gcc driver.

2019-08-04 Thread Martin Liška
On 8/2/19 11:55 AM, Richard Biener wrote: > On Fri, Aug 2, 2019 at 11:19 AM Martin Liška wrote: >> >> On 8/2/19 11:15 AM, Jan Hubicka wrote: On Fri, Aug 2, 2019 at 10:50 AM Jakub Jelinek wrote: > > On Fri, Aug 02, 2019 at 10:47:10AM +0200, Martin Liška wrote: >>> Can you strace i

Re: [doc PATCH] document variable attribute alias

2019-08-04 Thread Sandra Loosemore
On 7/31/19 5:05 PM, Martin Sebor wrote: It was pointed out recently in another forum that GCC doesn't document attribute alias for variables.  It was also noted in the same discussion that the semantics of accessing aliases and their targets can have "surprising" effects because GCC (as do other

Re: [PATCH V5, rs6000] Support vrotr3 for int vector types

2019-08-04 Thread Kewen.Lin
Hi Segher, on 2019/8/4 上午4:52, Segher Boessenkool wrote: > Hi! > > I somehow lost track of this email, sorry. > > On Fri, Aug 02, 2019 at 04:59:44PM +0800, Kewen.Lin wrote: >> As to the predicate name and usage, I checked the current vector shifts, >> they don't need to check const_vector speci

Re: [PATCH v2] RISC-V: Promote type correctly for libcalls

2019-08-04 Thread Kito Cheng
Committed as r274107 Hi Jakub, Richard: This patch is fix ABI bug for libcall on RISC-V, we've also tested on gcc 8 and 9, it's ok for gcc 9 and 8? Thanks. On Fri, Aug 2, 2019 at 11:52 PM Jim Wilson wrote: > > On Fri, Aug 2, 2019 at 12:11 AM Kito Cheng wrote: > > gcc/ChangeLog > > * c

PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE

2019-08-04 Thread Alan Modra
rev 266496 (git ab6b1bb456) undefined some macros in rs6000/freebsd.h but missed doing the same in rs6000/freebsd64.h. Fixed by making the obvious (and preapproved) patch. PR target/91349 * config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC), (LINK_GCC_C_SEQUENCE_SPEC): Undef.

Re: [PATCH] Adding _Dependent_ptr type qualifier in C part 1/3

2019-08-04 Thread Paul E. McKenney
Good points! On the type-qualifier interactions, here is an initial list. Thoughts? Thanx, Paul _Alignas: Dependency-breaking optimizations would be avoided, and the variable would be aligned as specified. _Atomic: Dependency-breaking opt

Re: [PATCH] More fixes for update_web_docs_svn for jit docs (PR jit/64257)

2019-08-04 Thread Gerald Pfeifer
On Wed, 4 Feb 2015, David Malcolm wrote: >> That was my plan, yes. :-) I just did that and manually ran >> the script, and it seems to work. > Thank you! >> Still, do you think you can add a bit of error handling such >> that an issue like the one we had (cf. >> https://gcc.gnu.org/ml/gccadmin/2

Re: [PATCH, Ada, Darwin, PPC] PPC Darwin has stack check probes.

2019-08-04 Thread Eric Botcazou
> This (PPC)Darwin-specific patch has been on mainline for some time now > without issues, the problem is present on open branches, may I backport it? Yes, thanks. -- Eric Botcazou

Re: [PATCH, Ada] Push -shared-libgcc where needed.

2019-08-04 Thread Eric Botcazou
> This patch has now been on mainline for some time without any apparent > issue, the problem is also present on the open branches, may I backport it? OK, thanks. -- Eric Botcazou

Re: [PATCH 1/2] rs6000: Debug regnums for TM registers

2019-08-04 Thread Segher Boessenkool
On Thu, May 02, 2019 at 06:24:10PM +, Segher Boessenkool wrote: > Since GCC 8, we have output incorrect numbers for the transactional > memory registers. > > Also, we didn't output the correct DWARF register numbers for those. > The number for sprN is 100+N. > > This fixes both these issues.

Re: [PATCH][RFC][x86] Fix PR91154, add SImode smax, allow SImode add in SSE regs

2019-08-04 Thread Uros Bizjak
On Sun, Aug 4, 2019 at 7:23 PM Jakub Jelinek wrote: > > On Sun, Aug 04, 2019 at 07:11:01PM +0200, Uros Bizjak wrote: > > Yes, the approach looks OK to me. It makes chain building mode > > agnostic, and the chain building can be used for > > a) DImode x86_32 (as is now), but maybe 64bit minmax oper

Re: [PATCH][RFC][x86] Fix PR91154, add SImode smax, allow SImode add in SSE regs

2019-08-04 Thread Jakub Jelinek
On Sun, Aug 04, 2019 at 07:11:01PM +0200, Uros Bizjak wrote: > Yes, the approach looks OK to me. It makes chain building mode > agnostic, and the chain building can be used for > a) DImode x86_32 (as is now), but maybe 64bit minmax operation can be added. > b) SImode x86_32 and x86_64 (this will be

Re: [PATCH][RFC][x86] Fix PR91154, add SImode smax, allow SImode add in SSE regs

2019-08-04 Thread Uros Bizjak
On Sat, Aug 3, 2019 at 7:26 PM Richard Biener wrote: > > On Thu, 1 Aug 2019, Uros Bizjak wrote: > > > On Thu, Aug 1, 2019 at 11:28 AM Richard Biener wrote: > > > So you unconditionally add a smaxdi3 pattern - indeed this looks > necessary even when going the STV route. The actual regre

Re: Start implementing -frounding-math

2019-08-04 Thread Marc Glisse
Hello, just posting the current version of this patch, in case people have comments. Some changes: the inline asm is introduced during expansion, and the thing is controlled by a different flag (it should be controlled by the pragma, but that's starting to be too many pieces to implement at

[wwwdocs] Further tweaks to C++2a status

2019-08-04 Thread Marek Polacek
Applied to CVS. Index: cxx-status.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cxx-status.html,v retrieving revision 1.88 diff -u -r1.88 cxx-status.html --- cxx-status.html 4 Aug 2019 14:19:27 - 1.88 +++ cxx-statu

Re: [PATCH] PR fortran/88227 -- Revenge of the BOZ

2019-08-04 Thread Steve Kargl
On Sun, Aug 04, 2019 at 03:14:53PM +0100, Paul Richard Thomas wrote: > Hi Steve, > > This is OK. > > Thanks for working on it. > > Paul > Thanks. BTW, I started to read your SELECT RANK patch. >From I read, it looks good. When you're ready with a final patch, feel free to ping me. -- Steve

[wwwdocs] Update C++2a status

2019-08-04 Thread Marek Polacek
Update the page for WG21 Cologne meeting motions. Most of the links are not working yet. Applied to CVS. Index: cxx-status.html === RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cxx-status.html,v retrieving revision 1.87 diff -u -r1.87

Re: [PATCH] PR fortran/88227 -- Revenge of the BOZ

2019-08-04 Thread Paul Richard Thomas
Hi Steve, This is OK. Thanks for working on it. Paul On Thu, 1 Aug 2019 at 22:13, Steve Kargl wrote: > > Ping. > > -- > steve > > On Sun, Jul 28, 2019 at 04:41:02PM -0700, Steve Kargl wrote: > > The attach patch fixes a problem with the conversion of a > > BOZ literal constant to a REAL where

Re: [objective-c/c++, testsuite, committed, 1/3] Workaround for PR90709.

2019-08-04 Thread Iain Sandoe
> On 15 Jun 2019, at 15:08, Iain Sandoe wrote: > > Since we cannot parse the current NeXT headers, because of PR90709 and its > dependents, we have a large amount of testsuite noise for Darwin platforms. > In order to restore the usefulness of the testsuite, we are going add headers > without t

Darwin backports commited for 9.2

2019-08-04 Thread Iain Sandoe
Hi, It seems that we’ve fixed quite a few testsuite issues over the last months that exist on all the open branches. This has made for quite a large number of test-related backports. General stuff is much smaller in content. These were tested on i686,powerpc-darwin9, x86_64-darwin16, 18 powerpc

[wwwdocs] Remove dysfunctional mirrors-usa.go-parts.com

2019-08-04 Thread Gerald Pfeifer
Thanks for carrying us for a while, Dan. Committed. Gerald Index: mirrors.html === RCS file: /cvs/gcc/wwwdocs/htdocs/mirrors.html,v retrieving revision 1.255 diff -u -r1.255 mirrors.html --- mirrors.html7 Oct 2018 12:40:52 -

[libstdc++,doc] A final(?) doxygen link fixed

2019-08-04 Thread Gerald Pfeifer
I hope with that we've caught everything (and that things are going to remain stable for a while now). Commmitted. Gerald 2019-08-04 Gerald Pfeifer * doc/xml/manual/documentation_hacking.xml: doxygen.org is now doxygen.nl. Index: doc/xml/manual/documentation_hacking.xml

[wwwdocs] www.sandpile.org has moved to https

2019-08-04 Thread Gerald Pfeifer
On the way pull the column out of the link text. Committed. Gerald Index: readings.html === RCS file: /cvs/gcc/wwwdocs/htdocs/readings.html,v retrieving revision 1.317 diff -u -r1.317 readings.html --- readings.html 30 Jul 201

[doc] install.texi - remove reference to age-old Tcl bug

2019-08-04 Thread Gerald Pfeifer
Tcl 8.6.1 was released more than half a decade ago, so not much of a point still documenting this Tcl 8.6 GA regression. Committed. Perhaps I'll backport to the GCC 9 branch as well. Gerald 2019-08-04 Gerald Pfeifer * doc/install.texi (Prerequisites): Remove reference to Tcl 8.6

Re: [PATCH, Ada, Darwin, PPC] PPC Darwin has stack check probes.

2019-08-04 Thread Iain Sandoe
> On 1 Jul 2019, at 22:57, Eric Botcazou wrote: > >> 2019-07-01 Iain Sandoe >> >> * libgnat/system-darwin-ppc.ads: Set Stack_Check_Probes True for >> PPC Darwin. > > OK, thanks. This (PPC)Darwin-specific patch has been on mainline for some time now without issues, the problem i

Re: [PATCH, Ada] Push -shared-libgcc where needed.

2019-08-04 Thread Iain Sandoe
Hi Eric, > On 30 Jun 2019, at 10:54, Eric Botcazou wrote: > >> 2019-06-30 Iain Sandoe >> >> * gnatlink.adb (Link_Step): Remove duplicate -static-libgcc switches. >> Push -shared-libgcc explicitly, when it is the target default (unless >> overidden by the static flag). >> When