This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79943] New: Loop splitting breaks with loops of pointer type
- From: "aph at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 07 Mar 2017 17:28:20 +0000
- Subject: [Bug tree-optimization/79943] New: Loop splitting breaks with loops of pointer type
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79943
Bug ID: 79943
Summary: Loop splitting breaks with loops of pointer type
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: aph at gcc dot gnu.org
Target Milestone: ---
Created attachment 40914
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40914&action=edit
GCC test case,
If a loop index has POINTER_TYPE, splitting generates incorrect splits because
(end-beg) is incorrectly negated. Patch to follow.