[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
http://llvm.org/bugs/show_bug.cgi?id=2678
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
80725.22};
^~~~~~~~
1 diagnostic generated.
llc: ValueTypes.cpp:109: static llvm::MVT llvm::MVT::getMVT(const llvm::Type*,
bool): Assertion `0 && "Unknown type!"' failed.
llc[0x893bdb4]
/lib/tls/i686/cmov/libc.so.6(abort+0x101)[0xb7cf3641]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xfb)[0xb7ceb43b]
llc(_ZN4llvm3MVT6getMVTEPKNS_4TypeEb+0x50d)[0x88e68dd]
Aborted (core dumped)
[regehr at babel tmp7]$ cat small.c
#include <stdarg.h>
static union tt3
{
}
t12 =
{
80725.22};
static struct tt1
{
};
float
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