[LLVMbugs] [Bug 2422] New: segfault ice

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Jun 8 13:47:30 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2422

           Summary: segfault ice
           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


Bug is for svn 52094 on Ubuntu Feisty for x86.

[regehr at babel tmp17]$ llvm-gcc -Os -c small.c
small.c:29: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

[regehr at babel tmp17]$ cat small.c
typedef signed char int8_t;
typedef int int32_t;
typedef unsigned int uint32_t;
static unsigned long int
mod_rhs (const long int rhs)
{
  return rhs;
}

uint32_t g_15;
uint32_t g_38;
int32_t
func_18 (int32_t p_19)
{
  return g_15;
}

int32_t
func_29 (uint32_t p_30)
{
  int8_t l_31;
  for (1; 1; ++l_31)
    if (1 % mod_rhs (func_18 (1)))
      for (g_38 = 0; (g_38 <= 0); ++g_38)
        if (func_18 (1))
          g_38 = g_15;
        else
          return 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