[LLVMbugs] [Bug 2264] New: internal compiler error
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Apr 29 16:45:25 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2264
Summary: internal compiler error
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
Using recent svn on x86-32 compiling this fragment:
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
uint32_t g_2 = 8L;
volatile int16_t g_133 = 0x7EAAL;
uint32_t g_139 = 0L;
volatile uint8_t g_160 = 6L;
int32_t func_31 (int16_t p_33, int16_t p_34, int32_t p_35);
int32_t func_97 (uint32_t p_98);
int32_t
func_97 (uint32_t p_98)
{
uint8_t l_190 = 0xFAL;
int8_t l_163 = 1L;
for (p_98 = -26; ((g_160) >= -29); (g_160)--)
{
int8_t l_192 = 0x85L;
func_31 (((((l_190 / 1L) - p_98) ^ ((g_139 + p_98) ^ 0xA2D7L))
&& g_2), (((((g_133) && l_192) || p_98) | l_163) > 1L), p_98);
}
}
Gives this:
[regehr at babel tmp1]$ llvm-gcc -O0 -S small.c
small.c: In function 'func_97':
small.c:17: warning: comparison is always true due to limited range of data
type
small.c:14: internal compiler error: in lhd_set_decl_assembler_name, at
langhooks.c:165
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
--
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