https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86990
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Fri Sep 21 07:28:42 2018 New Revision: 264458 URL: https://gcc.gnu.org/viewcvs?rev=264458&root=gcc&view=rev Log: 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. Added: trunk/gcc/testsuite/gcc.c-torture/execute/20180921-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimple-ssa-store-merging.c trunk/gcc/testsuite/ChangeLog