[llvm-bugs] [Bug 47104] New: LHS and RHS of the assignment-operator should not be the same.(llvm-project/polly/lib/External/isl/isl_tab.c:line 295 )

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 10 23:50:23 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47104

            Bug ID: 47104
           Summary: LHS and RHS of the assignment-operator should not be
                    the
                    same.(llvm-project/polly/lib/External/isl/isl_tab.c:li
                    ne 295 )
           Product: Polly
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: isl
          Assignee: polly-dev at googlegroups.com
          Reporter: info at ustchcs.com
                CC: llvm-bugs at lists.llvm.org

LHS and RHS of the assignment-operator should not be the same.
(The code perhaps should be 'dup->cone = tab->cone;'.)

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/polly/lib/External/isl/isl_tab.c:line 295

   295          tab->cone = tab->cone;
   296          dup->bottom.type = isl_tab_undo_bottom;
   297          dup->bottom.next = NULL;
   298          dup->top = &dup->bottom;
   299  
   300          dup->n_zero = tab->n_zero;
   301          dup->n_unbounded = tab->n_unbounded;
   302          dup->basis = isl_mat_dup(tab->basis);
   303  
   304          return dup;

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-2.6: LHS and RHS of the assignment-operator should not be the same.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200811/185a54a5/attachment.html>


More information about the llvm-bugs mailing list