[LLVMbugs] [Bug 6376] Assertion failed: ((Result || isa<UsingShadowDecl>(D)) && "Unable to find instantiation of declaration!"), function FindInstantiatedDecl, file SemaTemplateInstantiateDecl.cpp, line 2306.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 1 13:20:04 PST 2010


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

Andrius Morkunas <hinokind at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4274|0                           |1
        is obsolete|                            |
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
         AssignedTo|unassignedclangbugs at nondot. |hinokind at gmail.com
                   |org                         |

--- Comment #6 from Andrius Morkunas <hinokind at gmail.com> 2010-03-01 15:20:03 CST ---
Created an attachment (id=4351)
 --> (http://llvm.org/bugs/attachment.cgi?id=4351)
preprocessed file

This was failing with the same assert before, now fails with updated assert:

$ clang assert8v2.cc
Assertion failed: ((Result || isa<UsingShadowDecl>(D) || D->isInvalidDecl() ||
cast<Decl>(ParentDC)->isInvalidDecl()) && "Unable to find instantiation of
declaration!"), function FindInstantiatedDecl, file
SemaTemplateInstantiateDecl.cpp, line 2337.
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name assert8v2.cc
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.1
-fmessage-length 157 -fexceptions -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-3UXV1F.s -x c++ assert8v2.cc 
1.    systemimagelist.cpp:44:66: current parser token 'Iterator'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)


$ clang --version
clang version 1.1 (trunk 97498)
Target: x86_64-segfault-freebsd8.0
Thread model: posix

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



More information about the llvm-bugs mailing list