This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/85822] [8/9 Regression] Maybe wrong code in VRP since r249150
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 May 2018 08:27:47 +0000
- Subject: [Bug tree-optimization/85822] [8/9 Regression] Maybe wrong code in VRP since r249150
- Auto-submitted: auto-generated
- References: <bug-85822-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85822
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed May 23 08:27:14 2018
New Revision: 260568
URL: https://gcc.gnu.org/viewcvs?rev=260568&root=gcc&view=rev
Log:
Subject: Backport r260566
2018-05-23 Martin Liska <mliska@suse.cz>
Backport from mainline
2018-05-23 Yury Gribov <tetra2005@gmail.com>
PR tree-optimization/85822
* tree-vrp.c (is_masked_range_test): Fix handling of negative
constants.
2018-05-23 Martin Liska <mliska@suse.cz>
Backport from mainline
2018-05-23 Yury Gribov <tetra2005@gmail.com>
PR tree-optimization/85822
* c-c++-common/pr85822.c: New test.
Added:
branches/gcc-8-branch/gcc/testsuite/c-c++-common/pr85822.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/tree-vrp.c