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

           Summary: llvm-gcc segfault
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


This happens with svn 52763 targeting ia32 hosted on Ubuntu Feisty.

[EMAIL PROTECTED] tmp32]$ llvm-gcc -O small.c
small.c:27: 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.

[EMAIL PROTECTED] tmp32]$ cat small.c
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
uint32_t g_6;
int32_t g_148;
int32_t
func_1 (void)
{
  int16_t l_4;
  uint32_t l_147;
  for (0; 1; l_147 -= 0)
    {
      int8_t l_152;
      if (g_148)
        {
          for (1; 1; --l_152)
            1;
        }
      if (l_4)
        l_4 = g_6;
      else
        {
          g_6 = 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to