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

           Summary: crash
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


In SemaTemplateInstantiateDecl.cpp (rev 132089) in function
Sema::InstantiateFunctionDefinition the use of PatternDecl is not always
checked for NULL before use. 

I have some proprietary code which triggers PattermDecl = NULL.  The crash
happens on line 2344:

if (!Pattern && !PatternDecl->isDefaulted()) {

I'm sorry about the lack of details in this report.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to