[Bug tree-optimization/80426] [6 Regression] wrong manipulation of range based on INT_MIN
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 21 08:37:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80426
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Fri Apr 21 08:37:13 2017
New Revision: 247050
URL: https://gcc.gnu.org/viewcvs?rev=247050&root=gcc&view=rev
Log:
Backport from mainline
2017-04-19 Eric Botcazou <ebotcazou@adacore.com>
Jakub Jelinek <jakub@redhat.com>
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.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/execute/20170419-1.c
- copied unchanged from r247047,
trunk/gcc/testsuite/gcc.c-torture/execute/20170419-1.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/tree-vrp.c
More information about the Gcc-bugs
mailing list