[LLVMbugs] [Bug 22455] New: -Wglobal-constructors does not warn about local static variables

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 3 21:24:27 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22455

            Bug ID: 22455
           Summary: -Wglobal-constructors does not warn about local static
                    variables
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: y.gribov at samsung.com
                CC: dblaikie at gmail.com, dgregor at apple.com,
                    llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13806
  --> http://llvm.org/bugs/attachment.cgi?id=13806&action=edit
Reprocase

I'm attaching a simple reprocase which does emit a warning for top-level global
constructor but is silent about global ctor for local static variable.

-- 
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/20150204/92dfc7ac/attachment.html>


More information about the llvm-bugs mailing list