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

            Bug ID: 42004
           Summary: Initialization of a static local variable is not
                    thread safe
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Created attachment 22011
  --> https://bugs.llvm.org/attachment.cgi?id=22011&action=edit
Minimal test case

Attached code should be safe but causes thread sanitizer warnings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to