This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/79943] New: Loop splitting breaks with loops of pointer type


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]