This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/82449] code-gen error in get_rename_from_scev
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Oct 2017 10:55:31 +0000
- Subject: [Bug tree-optimization/82449] code-gen error in get_rename_from_scev
- Auto-submitted: auto-generated
- References: <bug-82449-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82449
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2017-10-06
CC| |spop at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is because we have a SCEV like
{(integer(kind=4)) {0, +, {1, +, 1}_1}_1, + 1}_2
which is affine and passes all other tests in scev_analyzable_p. But we really
need to have all SCEVs that pass this test pass get_rename_from_scev which
means we should be able to call chrec_apply on it.
I have a patch.