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

           Summary: Assertion failed: ((Result || isa<UsingShadowDecl>(D)
                    || D->isInvalidDecl() ||
                    cast<Decl>(ParentDC)->isInvalidDecl()) && "Unable to
                    find instantiation of declaration!"), function
                    FindInstantiatedDecl, file
                    SemaTemplateInstantiateDecl.cpp, line 3023.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


pes delta$ clang++ -fsyntax-only typebmff.cpp

..warnings and errors...

Assertion failed: ((Result || isa<UsingShadowDecl>(D) || D->isInvalidDecl() ||
cast<Decl>(ParentDC)->isInvalidDecl()) && "Unable to find instantiation of
declaration!"), function FindInstantiatedDecl, file
SemaTemplateInstantiateDecl.cpp, line 3023.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.1 -fsyntax-only -disable-free -main-file-name
typebmff.cpp -mrelocation-model static -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.15 -momit-leaf-frame-pointer -resource-dir /usr/local/bin/../lib/clang/2.9
-ferror-limit 19 -fmessage-length 152 -fexceptions -fgnu-runtime
-fdiagnostics-show-option -fcolor-diagnostics -x c++ typebmff.cpp 
1.      <eof> parser at end of file
2.      typebmff.cpp:7:16: instantiating function definition 'Enum'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
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