[LLVMbugs] [Bug 7537] New: Unable to issue a copy instruction!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 30 19:02:16 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7537
Summary: Unable to issue a copy instruction!
Product: new-bugs
Version: 2.7
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu
regehr at john-home:~/volatile/bugs/tmp321$ clang -v
clang version 2.8 (trunk 107352)
Target: i386-pc-linux-gnu
Thread model: posix
regehr at john-home:~/volatile/bugs/tmp321$ clang -O2 small.c -w
clang: InstrEmitter.cpp:807: void
llvm::InstrEmitter::EmitSpecialNode(llvm::SDNode*, bool, bool,
llvm::DenseMap<llvm::SDValue, unsigned int, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<unsigned int> >&): Assertion `Emitted && "Unable to issue a
copy instruction!\n"' failed.
0 clang 0x090a4d08
Stack dump:
0. Program arguments:
/home/regehr/z/compiler-install/llvm-gcc-r107352-install/bin/clang -cc1 -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c -mrelocation-model
static -mdisable-fp-elim -mconstructor-aliases -target-cpu pentium4
-resource-dir
/home/regehr/z/compiler-install/llvm-gcc-r107352-install/lib/clang/2.8 -O2 -w
-ferror-limit 19 -fmessage-length 81 -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-UYgX2i.s -x c small.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'X86 DAG->DAG Instruction Selection' on function '@int327'
clang: error: clang frontend command failed due to signal 6 (use -v to see
invocation)
regehr at john-home:~/volatile/bugs/tmp321$ cat small.c
typedef signed char int8_t;
typedef int int32_t;
typedef unsigned short int uint16_t;
static int8_t
safe_mul_func_int8_t_s_s (int8_t si1, int8_t si2)
{
return si1 * si2;
}
static uint16_t
safe_mul_func_uint16_t_u_u (uint16_t ui1, uint16_t ui2)
{
return ui1 * ui2;
}
int8_t g_3;
int8_t *g_2 = &g_3;
int8_t g_94;
int8_t *g_99 = &g_94;
int8_t **volatile g = &g_99;
void int327 (int32_t * p_38)
{
int8_t l_47 = 0x7CC7L;
safe_mul_func_int8_t_s_s (safe_mul_func_uint16_t_u_u
(safe_mul_func_int8_t_s_s (*p_38, l_47), 1), *g_2)
|| safeminus_ ();
lbl_373:{
*g = safe_mul_func_uint16_t_u_u;
}
}
--
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