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

           Summary: selfhost segfaults in NestedNameSpecifier::getPrefix
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


This looks like a fallout from Doug's recent NestedNameSpecifier work.

$ cat t.cc
namespace std {
    template<typename T>     class vector     {
    };
}
template<typename T> static void foo(std::vector<T*> &V) {
    __PRETTY_FUNCTION__;
}
void bar(std::vector<int*> &Blocks) {
    foo(Blocks);
}

$ clang++ t.cc
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 1 (use -v to see
invocation)

-- 
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