On Thu, 27 Jun 2019 at 04:23, Jeff Law <l...@redhat.com> wrote: > > On 6/26/19 7:14 PM, Bill Schmidt wrote: > > Looks like this patch breaks bootstrap. > > > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c: In function > > 'void dse\ > > _optimize_redundant_stores(gimple*)': > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c:649:46: error: > > ISO C++\ > > forbids converting a string constant to 'char*' [-Werror=write-strings] > > 649 | delete_dead_or_redundant_assignment (&gsi, "redundant"); > > | ^~~~~~~~~~~ > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c:651:40: error: > > ISO C++\ > > forbids converting a string constant to 'char*' [-Werror=write-strings] > > 651 | delete_dead_or_redundant_call (&gsi, "redundant"); > > | ^~~~~~~~~~~ > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c: In member > > function 'v\ > > oid dse_dom_walker::dse_optimize_stmt(gimple_stmt_iterator*)': > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c:979:41: error: > > ISO C++\ > > forbids converting a string constant to 'char*' [-Werror=write-strings] > > 979 | delete_dead_or_redundant_call (gsi, "dead"); > > | ^~~~~~ > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c:1007:39: error: > > ISO C+\ > > + forbids converting a string constant to 'char*' [-Werror=write-strings] > > 1007 | delete_dead_or_redundant_call (gsi, "dead"); > > | ^~~~~~ > > /home3/wschmidt/gcc/gcc-mainline-base/gcc/tree-ssa-dse.c:1066:49: error: > > ISO C+\ > > + forbids converting a string constant to 'char*' [-Werror=write-strings] > > 1066 | delete_dead_or_redundant_assignment (gsi, "dead"); > Strange as I know I've bootstrapped and tested. I'll take care of it > > Thanks, > jeff
Hi Jeff, I've also noticed that FAIL: g++.dg/tree-ssa/pr90883.C scan-tree-dump dse1 "Deleted redundant store: .*.a = {}" on aarch64 Christophe