[LLVMbugs] [Bug 21904] New: Incorrect mangling for static locals in template

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 12 21:09:10 PST 2014


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

            Bug ID: 21904
           Summary: Incorrect mangling for static locals in template
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13535
  --> http://llvm.org/bugs/attachment.cgi?id=13535&action=edit
test case

AFAICT the mangling for the static local variables in the attached test case
are missing an underscore before the final discriminator value.  See the
comments in the test case for the actual mangling I'm seeing.
I am pretty sure the second and third cases should not end with _E1i1 and
_E1i2, but _E1i_1 and _E1i_2 (or possibly _E1i_0 and _E1i_1).

-- 
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/20141213/34a616e9/attachment.html>


More information about the llvm-bugs mailing list