On Mon, Sep 17, 2018 at 9:12 AM Eric Botcazou <ebotca...@adacore.com> wrote: > > Hi, > > this is a regression present on the mainline only: now that the GIMPLE store > merging pass is able to mix constants and SSA_NAMEs on the RHS of stores to > bit-fields, we need to check that the entire merged store group is made of > constants only when encountering overlapping stores. > > Tested on x86_64-suse-linux, OK for the mainline?
OK. Richard. > > 2018-09-17 Eric Botcazou <ebotca...@adacore.com> > > PR tree-optimization/86990 > * gimple-ssa-store-merging.c > (imm_store_chain_info::coalesce_immediate): > Check that the entire merged store group is made of constants only for > overlapping stores. > > > 2018-09-17 Eric Botcazou <ebotca...@adacore.com> > > * gcc.c-torture/execute/20180917-1.c: New test. > > -- > Eric Botcazou