https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88149
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri Feb 8 07:40:31 2019 New Revision: 268665 URL: https://gcc.gnu.org/viewcvs?rev=268665&root=gcc&view=rev Log: 2019-02-08 Richard Biener <rguent...@suse.de> Backport from mainline 2018-12-10 Richard Biener <rguent...@suse.de> PR tree-optimization/88427 * vr-values.c (vr_values::extract_range_from_phi_node): Handle symbolic ranges conservatively when trying to drop to Inf +- 1. * gcc.dg/pr88427.c: New testcase. 2018-11-28 Richard Biener <rguent...@suse.de> PR tree-optimization/88217 * vr-values.c (vr_values::extract_range_from_phi_node): Make sure to handle results > +INF and < -INF correctly when trying to drop down to +INF - 1 or -INF + 1. * g++.dg/pr88217.C: New testcase. 2018-11-23 Richard Biener <rguent...@suse.de> PR tree-optimization/88149 * tree-vect-slp.c (vect_slp_analyze_node_operations): Detect the case where there are two different def types for the same operand at different operand position in the same stmt. * g++.dg/torture/pr88149.C: New testcase. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/pr88217.C branches/gcc-8-branch/gcc/testsuite/g++.dg/torture/pr88149.C branches/gcc-8-branch/gcc/testsuite/gcc.dg/pr88427.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-vect-slp.c branches/gcc-8-branch/gcc/vr-values.c