[LLVMbugs] [Bug 3467] New: ssertion failed: ((NumParams == FTy->getNumParams() || ( FTy->isVarArg() && NumParams > FTy->getNumParams())) && " Calling a function with bad signature!"), function init, file Instructions. cpp, line 290.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Feb 3 01:09:32 PST 2009


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

           Summary: ssertion failed: ((NumParams == FTy->getNumParams() ||
                    (FTy->isVarArg() && NumParams > FTy->getNumParams())) &&
                    "Calling a function with bad signature!"), function
                    init, file Instructions.cpp, line 290.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


attached triggers this, 2 days ago it compiled fine

lev /tmp$ clang -emit-llvm-bc screen.c
screen.c:1662:57: warning: 'format' attribute argument not supported:
__printf0__
void setproctitle(const char *_fmt, ...) __attribute__((__format__
(__printf0__, 1, 2)));
                                                        ^
Assertion failed: ((NumParams == FTy->getNumParams() || (FTy->isVarArg() &&
NumParams > FTy->getNumParams())) && "Calling a function with bad signature!"),
function init, file Instructions.cpp, line 290.
Abort (core dumped)
lev /tmp$


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