https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80426
--- Comment #8 from Jeffrey A. Law <law at gcc dot gnu.org> --- Author: law Date: Wed Apr 19 19:27:09 2017 New Revision: 247007 URL: https://gcc.gnu.org/viewcvs?rev=247007&root=gcc&view=rev Log: PR tree-optimization/80426 * tree-vrp.c (extract_range_from_binary_expr_1): For an additive operation on symbolic operands, also compute the overflow for the invariant part when the operation degenerates into a negation. PR tree-optimization/80426 * gcc.c-torture/execute/20170419-1.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/20170429-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c