[LLVMbugs] [Bug 5459] New: undefined reference to .LBBxxx
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Nov 10 11:26:31 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5459
Summary: undefined reference to .LBBxxx
Product: new-bugs
Version: trunk
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 like PR4732 but I'm filing a new one since in the discussion that one
was indicated as being fixed.
regehr at john-home:~/volatile/tmp232$ llvm-gcc -O2 small.c -w
/tmp/ccGZusJr.o: In function `func_9':
small.c:(.text+0x4a): undefined reference to `.LBB1_1'
collect2: ld returned 1 exit status
regehr at john-home:~/volatile/tmp232$ llvm-gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-checking=release --enable-optimized
--prefix=/home/regehr/z/tmp/llvm-gcc-r86665-install
--program-prefix=llvm-r86665- --enable-languages=c,c++
--enable-llvm=/home/regehr/z/tmp/llvm-r86665
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5653) (LLVM build)
regehr at john-home:~/volatile/tmp232$ cat small.c
static unsigned char
foo (short _si1, unsigned char _si2)
{
return _si1 && _si2 && _si1 + _si2 || _si1 && _si2 <= 0 && _si2 < _si1
|| _si1 <= _si2 && _si1 + _si1 ? : _si1;
}
static unsigned char
bar (short _si1, unsigned char _si2)
{
return _si1 ? : 0;
}
static unsigned char
baz (short _left, int _right)
{
return _left || _right || _right >= 1 * 8 || _left ? : _left;
}
static unsigned char
buz (unsigned short _ui1, unsigned char _ui2)
{
return _ui1;
}
static unsigned char
biz (unsigned _left, int _right)
{
return _right >= 1 * 8 ? : 1 << _right;
}
volatile unsigned char g_11;
unsigned char g_28;
unsigned char g_31;
const unsigned char *g;
unsigned char g_52;
unsigned char g_55;
unsigned char g_59;
int *func_12 (int *p_13, char p_14, unsigned long long p_15);
char func_22 (unsigned short p_23, int p_24, int p_25, int *p_26,
unsigned long long p_27);
int func_32 (const int *p_33, int p_34, unsigned short p_35);
int *func_48 (long long p_49, unsigned short p_50, unsigned long long p_51);
unsigned char *
func_9 (int *p_10)
{
for (0; g_11 >= 0; 1)
{
func_12 (1,
func_22 (0x6CDBL, g_52, func_32 (p_10, g_59, 0) >= 1, 1, g
&& bar (baz (g_55, g_31), 0)), 1);
0 ? 0 : __assert ("== 0", "small.c", __PRETTY_FUNCTION__);
}
}
int *
func_12 (int *p_13, char p_14, unsigned long long p_15)
{
}
char
func_22 (unsigned short p_23, int p_24, int p_25, int *p_26,
unsigned long long p_27)
{
}
int
func_32 (const int *p_33, int p_34, unsigned short p_35)
{
func_48 (!g <= 0, p_34, foo (biz (1, buz (g_28, 0)), p_34));
g = 0;
}
int *
func_48 (long long p_49, unsigned short p_50, unsigned long long p_51)
{
}
int
main (void)
{
}
--
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