[llvm-bugs] [Bug 25197] New: Assertion failed: (getContext().hasSameType(E->getType(), type)), function EmitCallArg

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 15 10:35:23 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25197

            Bug ID: 25197
           Summary: Assertion failed:
                    (getContext().hasSameType(E->getType(), type)),
                    function EmitCallArg
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15083
  --> https://llvm.org/bugs/attachment.cgi?id=15083&action=edit
reduced.mm

When using generics, the type check for the argument can fail due to the
expression type being specialized by the generics.  The reduced test case
attached triggers the assertion in an assertions build.

-- 
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/20151015/2b5fd59b/attachment.html>


More information about the llvm-bugs mailing list