[LLVMbugs] [Bug 481] NEW: [llvmgcc] Crash on invalid va_start

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Dec 13 12:17:38 PST 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=481

           Summary: [llvmgcc] Crash on invalid va_start
           Product: tools
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org


This (invalid) code causes llvmgcc to ice.

#include <stdarg.h>
int flags(int a, int b, ...) {
        va_list         args;
        va_start(args,a);       // not the last named arg
        foo(args);
}

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list