[LLVMbugs] [Bug 7142] New: Assertion failed: (CurFn->isDeclaration() && "Function already has body?"), function StartFunction, file CodeGenFunction.cpp, line 172.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 14 10:11:42 PDT 2010


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

           Summary: Assertion failed: (CurFn->isDeclaration() && "Function
                    already has body?"), function StartFunction, file
                    CodeGenFunction.cpp, line 172.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


pes delta$ clang BasicAliasAnalysis.cpp
Assertion failed: (CurFn->isDeclaration() && "Function already has body?"),
function StartFunction, file CodeGenFunction.cpp, line 172.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name
BasicAliasAnalysis.cpp -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -resource-dir
/usr/local/lib/clang/2.0 -ferror-limit 19 -fmessage-length 116 -fexceptions
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-EnUuMi.s
-x c++ BasicAliasAnalysis.cpp 
1.      <eof> parser at end of file
2.      Per-file LLVM IR generation
3.      BasicAliasAnalysis.cpp:65:26: Generating code for declaration
'<anonymous namespace>::BasicAliasAnalysis::~BasicAliasAnalysis'
clang: error: compiler command failed due to signal 6 (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.



More information about the llvm-bugs mailing list