https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61672
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Sep 9 11:42:34 2014 New Revision: 215059 URL: https://gcc.gnu.org/viewcvs?rev=215059&root=gcc&view=rev Log: 2014-09-09 Richard Biener <rguent...@suse.de> Backport from mainline 2014-08-05 Richard Biener <rguent...@suse.de> PR rtl-optimization/61672 * emit-rtl.h (mem_attrs_eq_p): Declare. * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs. * cse.c (exp_equiv_p): Use mem_attrs_eq_p. * cfgcleanup.c (merge_memattrs): Likewise. Include emit-rtl.h. 2014-08-11 Richard Biener <rguent...@suse.de> PR tree-optimization/62075 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Properly handle uses in patterns. * gcc.dg/vect/pr62075.c: New testcase. 2014-08-14 Richard Biener <rguent...@suse.de> PR rtl-optimization/62079 * recog.c (peephole2_optimize): If peep2_do_cleanup_cfg run cleanup_cfg. * g++.dg/pr62079.C: New testcase. 2014-08-26 Richard Biener <rguent...@suse.de> PR tree-optimization/62175 * tree-ssa-loop-niter.c (expand_simple_operations): Do not expand possibly trapping operations. * g++.dg/torture/pr62175.C: New testcase. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/pr62079.C branches/gcc-4_9-branch/gcc/testsuite/g++.dg/torture/pr62175.C branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/vect/pr62075.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/cfgcleanup.c branches/gcc-4_9-branch/gcc/cse.c branches/gcc-4_9-branch/gcc/emit-rtl.c branches/gcc-4_9-branch/gcc/recog.c branches/gcc-4_9-branch/gcc/testsuite/ChangeLog branches/gcc-4_9-branch/gcc/tree-ssa-loop-niter.c branches/gcc-4_9-branch/gcc/tree-vect-slp.c