[LLVMbugs] [Bug 3213] New: Assertion `Arg < NumArgs' failed in clang revision 60757

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 15 10:53:33 PST 2008


           Summary: Assertion `Arg < NumArgs' failed in clang revision 60757
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bagnara at cs.unipr.it
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=2303)
 --> (http://llvm.org/bugs/attachment.cgi?id=2303)
Testcase allowing to reproduce the problem

$ ~/clang/dest/bin/clang catmaster_comb.c  
catmaster_comb.c:479:6: error: conflicting types for '__builtin_va_start'
void __builtin_va_start(__builtin_va_list  ) ;
note: previous declaration is here
clang::Expr* clang::CallExpr::getArg(unsigned int): Assertion `Arg < NumArgs &&
"Arg access out of range!"' failed.
0   clang     0x08c35835
1   libc.so.6 0x00b3d8b1 abort + 257
2   libc.so.6 0x00b353ce __assert_fail + 238
3   clang     0x086d5acc clang::Sema::SemaBuiltinVAStart(clang::CallExpr*) +
4   clang     0xbfa90370 clang::Sema::SemaBuiltinVAStart(clang::CallExpr*) +
Aborted (core dumped)

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