This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/81655] [7/8 Regression] new test case gcc.dg/tree-ssa/pr81588.c fails on powerpc64
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 02 Aug 2017 10:00:25 +0000
- Subject: [Bug tree-optimization/81655] [7/8 Regression] new test case gcc.dg/tree-ssa/pr81588.c fails on powerpc64
- Auto-submitted: auto-generated
- References: <bug-81655-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81655
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2017-08-02
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 41890
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41890&action=edit
gcc8-pr81655.patch
Untested fix for the trunk, the issue is that we have in GIMPLE_COND bool_var
!= 1 and record that as low == high == 1 with negated in_p, while the code
expects low == high == 0 without negated in_p, which we would get e.g. for
bool_var == 0.