[llvm-bugs] [Bug 42004] New: Initialization of a static local variable is not thread safe

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 24 04:27:39 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: vincent.lebourlot at starqube.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190524/a1bc9ba9/attachment.html>


More information about the llvm-bugs mailing list