https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84003
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Nov 20 14:47:49 2018 New Revision: 266318 URL: https://gcc.gnu.org/viewcvs?rev=266318&root=gcc&view=rev Log: 2018-11-20 Richard Biener <rguent...@suse.de> Backport from mainline 2018-03-12 Richard Biener <rguent...@suse.de> PR tree-optimization/84777 * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): For force-vectorize loops ignore whether we are optimizing for size. 2018-01-26 Richard Biener <rguent...@suse.de> PR rtl-optimization/84003 * dse.c (record_store): Only record redundant stores when the earlier store aliases at least all accesses the later one does. * g++.dg/torture/pr77745.C: Mark foo noinline to trigger latent bug in DSE if NOINLINE is appropriately defined. * g++.dg/torture/pr77745-2.C: New testcase including pr77745.C and defining NOINLINE. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/torture/pr77745-2.C Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/dse.c branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/g++.dg/torture/pr77745.C branches/gcc-7-branch/gcc/tree-ssa-loop-ch.c