[LLVMbugs] [Bug 3117] New: ice: Result type 0 illegal!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 23 08:55:06 PST 2008


           Summary: ice: Result type 0 illegal!
           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

Seen using r59898 on Ubuntu Hardy on x86.

regehr at john-home:~/volatile/tmp62$ llvm-gcc -O3 small.c
Result type 0 illegal!
0x8e7baf4: i1 = setcc 0x8e7bf34, 0x8e7bfbc, 0x8e5c73c
small.c:54: 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/tmp62$ cat small.c

__extension__ typedef long long int int64_t;

int64_t safe_add_int64_t_s_s (int64_t si1, int si2)
  return si1 + si2;

int safe_sub_char_u_u (char ui1, int ui2)
  return ui1 - ui2;

int g_7;
char g_118;
int g_147;

int func_99 (char p_101);

int func_25 (void)
  int l_34 = 0xD2C298C2L;
  return l_34;

int func_73 (int p_74)
  int l_195;
  func_96 (1);
  func_76 (p_74, l_195, 1);

int func_76 (int p_78, int p_79, int p_81)
  func_86 (g_147, func_86 (g_7, 1), 1, 1);

int func_86 (int p_88, int p_90)
  func_96 (1);

int func_96 (int p_98)
  func_99 ((1, func_99 (1)));

int func_99 (char p_101)
  int l_117 = 0x628AL;
  g_118 =
    safe_sub_char_u_u (g_118 <=
                       safe_add_int64_t_s_s ((0, g_7) != p_101,
                                             func_25 ()) | 0, l_117);

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