[LLVMbugs] [Bug 2783] New: likely regression causing ice: Invalid vreg!
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Sep 9 20:48:16 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2783
Summary: likely regression causing ice: Invalid vreg!
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
I never saw this error until tonight, and now it is happening quire frequently,
meaning that it most likely is being triggered by a commit that happened during
the last 24 hours.
This is on Ubuntu Hardy on ia32 using r56034.
LLVM is valgrind-clean on this run.
regehr at john-home:~/volatile/tmp30$ llvm-gcc -O1 small.c
cc1: /home/regehr/llvm/include/llvm/CodeGen/MachineRegisterInfo.h:135: const
llvm::TargetRegisterClass* llvm::MachineRegisterInfo::getRegClass(unsigned int)
const: Assertion `Reg < VRegInfo.size() && "Invalid vreg!"' failed.
small.c:29: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
regehr at john-home:~/volatile/tmp30$ cat small.c
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
static inline unsigned int
lshift_u_s (unsigned int left, int right)
{
return left;
}
static inline int
rshift_s_s (int left, int right)
{
if ((left < 0) || (right < 0) || (right >= sizeof (int)))
return left;
return left >> right;
}
uint16_t g_15;
uint32_t
func_3 (uint32_t p_5)
{
uint32_t l_16;
uint32_t l_19;
uint32_t l_22;
uint32_t l_304;
func_7 (rshift_s_s
(((lshift_u_s
(((1 & g_15) >= ((rshift_u_s (1)) <= 1)) - ((g_15 < 1) >=
func_20 (1)),
1)) <= 1), (1 % mod_rhs (1))));
}
--
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