[PATCH 4/4] Improve maybe_remove_writeonly_store to do a simple DCE for defining statement

2021-10-18 Thread apinski--- via Gcc-patches
From: Andrew Pinski Instead of putting a full blow DCE after execute_fixup_cfg, it makes sense to try to remove the defining statement for the store that is being removed. Right now we only handle PHI node statements as there needs no extra checks except for it is only used once in the store stat

Re: [PATCH][WIP] Add install-dvi Makefile targets

2021-10-18 Thread Thomas Koenig via Gcc-patches
Hi Eric, Hi, I have updated this patch and tested it with more languages now; I can now confirm that it works with ada, d, and fortran now. The only languages that remain untested now are go (since I'm building on darwin and go doesn't build on darwin anyways, as per bug 46986) and jit (which I

[SVE] Adjust PR93183 test-case to compile with -march=armv8.3-a+sve

2021-10-18 Thread Prathamesh Kulkarni via Gcc-patches
Hi, The attached patch removes "-mcpu=generic+sve" from dg-options, because it conflicts with -march=armv8.3-a+sve, and resulted in: cc1: warning: switch '-mcpu=generic+sve' conflicts with '-march=armv8.3-a+sve' switch^M FAIL: gcc.target/aarch64/sve/pr93183.c (test for excess errors) Excess errors

Re: [PATCH][i386] target: support spaces in target attribute.

2021-10-18 Thread Martin Liška
On 10/18/21 17:12, Uros Bizjak wrote: On Mon, Oct 18, 2021 at 1:23 PM Martin Liška wrote: On 10/11/21 13:17, Martin Liška wrote: On 10/4/21 23:02, Andrew Pinski wrote: It might be useful to skip tabs for the same reason as spaces really. Sure, be my guest. Martin May I please ping this

Re: [RFC] Remove VRP threader passes in exchange for better threading pre-VRP.

2021-10-18 Thread Richard Biener via Gcc-patches
On Mon, Oct 18, 2021 at 4:03 PM Aldy Hernandez wrote: > > > > On 10/18/21 3:41 PM, Aldy Hernandez wrote: > > > I've been experimenting with reducing the total number of threading > > passes, and I'd like to see if there's consensus/stomach for altering > > the pipeline. Note, that the goal is to

Re: [PATCH RFA] timevar: Add auto_cond_timevar class

2021-10-18 Thread Richard Biener via Gcc-patches
On Mon, Oct 18, 2021 at 4:23 PM Jason Merrill via Gcc-patches wrote: > > The auto_timevar sentinel class for starting and stopping timevars was added > in 2014, but doesn't work for the many uses of timevar_cond_start/stop in > the C++ front end. So let's add one that does. > > This allows us to

Re: [PATCH] tree-object-size: Make unknown a computation

2021-10-18 Thread Jakub Jelinek via Gcc-patches
On Tue, Oct 19, 2021 at 09:47:45AM +0530, Siddhesh Poyarekar wrote: > Compute the unknown size value as a function of the min/max bit of > object_size_type. This transforms into a neat little branchless > sequence on x86_64: > > movl%edi, %eax > sarl%eax > xorl$1, %e

<    1   2