[LLVMbugs] [Bug 2678] New: llc crash on clang varargs output

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Aug 14 11:56:54 PDT 2008


           Summary: llc crash on clang varargs output
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu

This is seen on r54780 on Ubuntu Feisty on ia32.

[regehr at babel tmp7]$ clang small.c --emit-llvm -o - | llvm-as | opt
-std-compile-opts | llc
small.c:7:1: warning: excess elements in array initializer
1 diagnostic generated.
llc: ValueTypes.cpp:109: static llvm::MVT llvm::MVT::getMVT(const llvm::Type*,
bool): Assertion `0 && "Unknown type!"' failed.
Aborted (core dumped)

[regehr at babel tmp7]$ cat small.c
#include <stdarg.h>
static union tt3
t12 =
static struct tt1
callee_t0f (float tp2, union tt3 tp3, ...)
  va_list ap;
  typedef struct tt1 td0;
  td0 t13;
  t13 = va_arg (ap, td0);

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