[LLVMbugs] [Bug 6375] New: Assertion failed: (Result && "declaration was not instantiated in this scope!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 21 14:36:32 PST 2010


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

           Summary: Assertion failed: (Result && "declaration was not
                    instantiated in this scope!")
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P5
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hinokind at gmail.com
                CC: dgregor at apple.com
   Estimated Hours: 0.0


Created an attachment (id=4273)
 --> (http://www.llvm.org/bugs/attachment.cgi?id=4273)
testcase

Assertion fails when compiling the testcase.

$ clang++ assert6.cpp
< ... >
Assertion failed: (Result && "declaration was not instantiated in this
scope!"), function getInstantiationOf, file
/projects/llvm/tools/clang/lib/Sema/Sema.h, line 3390.
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name assert6.cpp
-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-JM895N.s -x c++ assert6.cpp 
1.    <eof> parser at end of file
2.    assert6.cpp:28:10: instantiating function definition 'agg::render_ctrl'
3.    assert6.cpp:16:10: instantiating function definition
'render_scanlines_aa_solid'
4.    assert6.cpp:6:33: instantiating function definition
'agg::rasterizer_scanline_aa<class rasterizer_sl_clip>::sweep_scanline'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list