[LLVMbugs] [Bug 18175] New: [-cxx-abi microsoft] bad mangling given for large constants

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 7 20:19:09 PST 2013


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

            Bug ID: 18175
           Summary: [-cxx-abi microsoft] bad mangling given for large
                    constants
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

consider:
enum class A : unsigned long long {
  z = (unsigned long long)-1
};
const A c{ A::z };
template <enum A : unsigned long long > struct Q {};
Q<c> j;

we get:
?j@@3U?$Q@$0PPPPPPPPPPPPPPPP@@@A

we should get:
?j@@3U?$Q@$0?0@@A

-- 
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/20131208/4218f03f/attachment.html>


More information about the llvm-bugs mailing list