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

            Bug ID: 44599
           Summary: Missed unused variable
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: y...@tsoft.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Created attachment 23036
  --> https://bugs.llvm.org/attachment.cgi?id=23036&action=edit
testcase.c

The local variable "v" is only assigned to, but is never used. clang 80 and 90
miss that.

gcc doesn't miss that.

-- 
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