https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84873
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Jun 20 13:10:21 2018 New Revision: 261800 URL: https://gcc.gnu.org/viewcvs?rev=261800&root=gcc&view=rev Log: 2018-06-20 Richard Biener <rguent...@suse.de> Backport from mainline 2018-03-16 Richard Biener <rguent...@suse.de> PR c/84873 * c-gimplify.c (c_gimplify_expr): Revert previous change. Instead unshare the possibly folded expression. 2018-03-15 Richard Biener <rguent...@suse.de> PR c/84873 * c-gimplify.c (c_gimplify_expr): Do not fold expressions. * c-c++-common/pr84873.c: New testcase. 2018-05-02 Richard Biener <rguent...@suse.de> PR tree-optimization/85597 * tree-vect-stmts.c (vectorizable_operation): For ternary SLP do not use split vect_get_vec_defs call but call vect_get_slp_defs directly. * gcc.dg/vect/pr85597.c: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/c-c++-common/pr84873.c branches/gcc-6-branch/gcc/testsuite/gcc.dg/vect/pr85597.c Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/c-family/ChangeLog branches/gcc-6-branch/gcc/c-family/c-gimplify.c branches/gcc-6-branch/gcc/testsuite/ChangeLog branches/gcc-6-branch/gcc/tree-vect-stmts.c