Re: [RS6000] VSX_MM_SUFFIX

2020-10-24 Thread Alan Modra via Gcc-patches
On Sat, Oct 24, 2020 at 12:31:43PM -0500, Segher Boessenkool wrote: > On Sat, Oct 24, 2020 at 02:59:34PM +1030, Alan Modra wrote: > > Those instructions aren't generated, we don't see them anywhere on a > > power10 all-lang bootstrap except in one testcase designed to exercise > > them. > > But

Re: [PATCH v2] c++: Implement -Wvexing-parse [PR25814]

2020-10-24 Thread Marek Polacek via Gcc-patches
On Fri, Oct 23, 2020 at 09:33:38PM -0400, Jason Merrill via Gcc-patches wrote: > On 10/23/20 3:01 PM, Marek Polacek wrote: > > This patch implements the -Wvexing-parse warning to warn about the > > sneaky most vexing parse rule in C++: the cases when a declaration > > looks like a variable

[PATCH] c++: Prevent warnings for value-dependent exprs [PR96742]

2020-10-24 Thread Marek Polacek via Gcc-patches
Here, in r11-155, I changed the call to uses_template_parms to type_dependent_expression_p_push to avoid a crash in C++98 in value_dependent_expression_p on a non-constant expression. But that prompted a host of complaints that we now warn for value-dependent expressions in templates. Those

Re: [patch, fortran] Partial fix for PR97454, declarations of some library functions

2020-10-24 Thread Thomas Koenig via Gcc-patches
Hello world, here's a patch which corrects some wrong declarations (and fixes the segfault for FINDLOC on Darwin ARM). Regression-tested. OK for trunk? ping? Regards Thomas

Re: [RS6000] VSX_MM_SUFFIX

2020-10-24 Thread Segher Boessenkool
On Sat, Oct 24, 2020 at 02:59:34PM +1030, Alan Modra wrote: > On Fri, Oct 23, 2020 at 04:06:57PM -0500, Segher Boessenkool wrote: > > On Fri, Oct 23, 2020 at 09:41:30AM +1030, Alan Modra wrote: > > > On Thu, Oct 22, 2020 at 11:03:14AM -0500, Segher Boessenkool wrote: > > > > On Thu, Oct 22, 2020

Re: [PATCH][middle-end][i386][Version 4] Add -fzero-call-used-regs=[skip|used-gpr-arg|used-arg|all-arg|used-gpr|all-gpr|used|all]

2020-10-24 Thread Uros Bizjak via Gcc-patches
On Sat, Oct 24, 2020 at 6:05 PM Qing Zhao wrote: > > Hi, > > This is the 4th version of the implementation of patch -fzero-call-used-regs. > > The major change compared to the previous version are: > > 1. Documentation change per Richard’s suggestion; > 2. Command sub options handling per

[PATCH][middle-end][i386][Version 4] Add -fzero-call-used-regs=[skip|used-gpr-arg|used-arg|all-arg|used-gpr|all-gpr|used|all]

2020-10-24 Thread Qing Zhao via Gcc-patches
Hi, This is the 4th version of the implementation of patch -fzero-call-used-regs. The major change compared to the previous version are: 1. Documentation change per Richard’s suggestion; 2. Command sub options handling per Richard’s suggestion; 3. I386 part, clearing ST registers per Uros’s

Re: V2 [PATCH] Update check for working assembler --gdwarf-4 option

2020-10-24 Thread Jakub Jelinek via Gcc-patches
On Sat, Oct 24, 2020 at 08:28:08AM -0700, H.J. Lu wrote: > The updated patch to check > > https://sourceware.org/bugzilla/show_bug.cgi?id=26778 > > OK for master? Ok, thanks. > From 7130dea1f39692a8a00e48ef119233595f9284c9 Mon Sep 17 00:00:00 2001 > From: "H.J. Lu" > Date: Fri, 16 Oct 2020

Re: [PATCH] g++, libstdc++: implement __is_nothrow_{constructible, assignable}

2020-10-24 Thread Marek Polacek via Gcc-patches
On Sat, Oct 24, 2020 at 03:11:29AM +0300, Ville Voutilainen wrote: > On Sat, 24 Oct 2020 at 03:07, Marek Polacek wrote: > > > Ha, we have the same thing in is_trivially_xible, so I'll drive-by > > > change that one as well. > > > > Please. Thanks! > > The tree is also on a separated line in

Re: [PATCH] rs6000, Add bcd builtings listed in appendix B of the ABI

2020-10-24 Thread David Edelsohn via Gcc-patches
Hi, Carl Not commenting on the implementation. Please stop using powerpc*-*-* in the test cases. The test cases already are in the gcc.target/powerpc directory. Do the test cases really need lp64, or should this require something like int128? Thanks, David On Fri, Oct 23, 2020 at 9:56 PM

V2 [PATCH] Update check for working assembler --gdwarf-4 option

2020-10-24 Thread H.J. Lu via Gcc-patches
On Sat, Oct 17, 2020 at 6:23 AM H.J. Lu wrote: > > On Fri, Oct 16, 2020 at 11:29 AM H.J. Lu wrote: > > > > On Fri, Oct 16, 2020 at 11:17 AM Jakub Jelinek wrote: > > > > > > On Fri, Oct 16, 2020 at 10:58:34AM -0700, H.J. Lu wrote: > > > > Don't set HAVE_AS_GDWARF_5_DEBUG_FLAG nor

Re: [PATCH] Hashtable PR96088

2020-10-24 Thread François Dumont via Gcc-patches
Hi     Just a rebase of this patch. François On 17/10/20 6:21 pm, François Dumont wrote: I eventually would like to propose the following resolution. For multi-key containers I kept the same resolution build the node first and compute has code from the node key. For unique-key ones I

[PATCH] Handle undefined ranges in get_size_range.

2020-10-24 Thread Aldy Hernandez via Gcc-patches
An undefined range was leaking through to the end of this function, which leads us to use an uninitialized wide_int. Pushed. gcc/ChangeLog: PR tree-optimization/97538 * calls.c (get_size_range): Handle undefined ranges. gcc/testsuite/ChangeLog: * g++.dg/pr97538.C: New

Re: Move thunks out of cgraph_node

2020-10-24 Thread mliska
On 2020-10-23 21:45, Jan Hubicka wrote: Hi, this patch moves thunk_info out of cgraph_node into a symbol summary. I also moved it to separate hearder file since cgraph.h became really too fat. I plan to contiue with similar breakup in order to cleanup interfaces and reduce WPA memory

Re: [PATCH v7] genemit.c (main): split insn-emit.c for compiling parallelly

2020-10-24 Thread Jojo R
Hi, Has this patch been merged ? I track this some weeks and the patch has reviewed still on the way ... Could someone help me ? Thanks so much. Jojo 在 2020年10月8日 +0800 AM10:01,Jojo R ,写道: > Ping …... > > Jojo > 在 2020年9月27日 +0800 AM10:34,Jojo R ,写道: > > Hi, >