[LLVMbugs] [Bug 21034] New: clang does not use the specific manglings for reinterpret_cast etc.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 22 16:54:05 PDT 2014


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

            Bug ID: 21034
           Summary: clang does not use the specific manglings for
                    reinterpret_cast etc.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rjmccall at apple.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The clang mangler appears to use
  expression ::= cv <type> <expression>
regardless of whether the cast expression is a C-style cast, a const_cast, a
reinterpret_cast, or a dynamic_cast.

The Itanium C++ ABI specifies different manglings for these expressions, and
function templates using different cast kinds are different according to the
ODR.

-- 
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/20140922/94a8f07e/attachment.html>


More information about the llvm-bugs mailing list