https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88105
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Feb 7 08:22:01 2019 New Revision: 268609 URL: https://gcc.gnu.org/viewcvs?rev=268609&root=gcc&view=rev Log: 2019-02-07 Richard Biener <rguent...@suse.de> Backport from mainline 2018-11-20 Richard Biener <rguent...@suse.de> PR tree-optimization/88105 * tree-ssa-dom.c (pass_dominator::execute): Do not walk backedges. * gcc.dg/gomp/pr88105.c: New testcase. 2018-11-28 Richard Biener <rguent...@suse.de> PR tree-optimization/88223 * tree-ssa-sccvn.c (vn_reference_lookup_3): When skipping over a stored-same value may-alias store make sure to consider partial overlaps which are valid when TBAA reasonings do not apply and byte-granular overlaps are possible at all. * gcc.dg/torture/pr88223.c: New testcase. Added: branches/gcc-8-branch/gcc/testsuite/gcc.dg/gomp/pr88105.c branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr88223.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-ssa-dom.c branches/gcc-8-branch/gcc/tree-ssa-sccvn.c