https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82276
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Sep 21 12:12:33 2017 New Revision: 253062 URL: https://gcc.gnu.org/viewcvs?rev=253062&root=gcc&view=rev Log: 2017-09-21 Richard Biener <rguent...@suse.de> PR tree-optimization/82276 PR tree-optimization/82244 * tree-vrp.c (build_assert_expr_for): Set SSA_NAME_OCCURS_IN_ABNORMAL_PHI if the variable we assert on has it set. (remove_range_assertions): Revert earlier change. * gcc.dg/torture/pr82276.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr82276.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c