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-...@googlegroups.com
          Reporter: i...@ustchcs.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to