https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84503
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Mar 3 13:38:48 2018 New Revision: 258201 URL: https://gcc.gnu.org/viewcvs?rev=258201&root=gcc&view=rev Log: Backported from mainline 2018-02-22 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/84503 * gcc.dg/pr84503-1.c: New test. * gcc.dg/pr84503-2.c: New test. 2017-11-10 Jakub Jelinek <ja...@redhat.com> PR bootstrap/82916 * gimple-ssa-store-merging.c (pass_store_merging::terminate_all_aliasing_chains): For gimple_store_p stmts also call refs_output_dependent_p. * gcc.dg/pr82916.c: New test. Added: branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr82916.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84503-1.c branches/gcc-7-branch/gcc/testsuite/gcc.dg/pr84503-2.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/gimple-ssa-store-merging.c branches/gcc-7-branch/gcc/testsuite/ChangeLog