[LLVMbugs] [Bug 15360] New: Crash in CodeGen for instantiating templated type with nullptr as function argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Feb 25 22:34:39 PST 2013


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

            Bug ID: 15360
           Summary: Crash in CodeGen for instantiating templated type with
                    nullptr as function argument
           Product: clang
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: unassignedclangbugs at nondot.org
          Reporter: llvm at doucette.cc
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Compiling the following causes a crash. Tested with 3.2 and trunk on OS X and
Linux.

template<class C, void fn(C)>
struct type
{
    virtual void f(int arg)
    {
        fn(arg);
    }
};

type<int, nullptr> g;

-- 
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/20130226/5580ec58/attachment.html>


More information about the llvm-bugs mailing list