[LLVMbugs] [Bug 1083] NEW: Assertion failure in llvm-convert.cpp

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 6 12:38:38 PST 2007


           Summary: Assertion failure in llvm-convert.cpp
           Product: tools
           Version: 1.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: babic.domagoj at gmail.com

$:~/tmp$ llvm-gcc -emit-llvm -c svc.c -o svc.o
cc1: ../../dst-directory/gcc/llvm-convert.cpp:216:
llvm::Type*): Assertion `ArgVal->getType()->isIntegral() && LLVMTy->isIntegral()
&& "Lowerings don't match?"' failed.
svc.c: In function ‘svc_register’:
svc.c:11: internal compiler error: Aborted
Please submit a full bug report,

Source: [svc.c from dietlib v0.30]
#include <rpc/rpc.h>

static SVCXPRT **xports;

bool_t svc_register(xprt, prog, vers, dispatch, protocol)
SVCXPRT *xprt;
unsigned long prog;
unsigned long vers;
void (*dispatch) ();
rpcprot_t protocol;
	return (TRUE);

Can be reproduced with:
llvm-gcc [-emit-llvm] -c svc.c -o svc.o


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