[LLVMbugs] [Bug 7514] New: clang signal 11

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jun 27 23:23:37 PDT 2010


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

           Summary: clang signal 11
           Product: new-bugs
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu


regehr at john-home:~/volatile/bugs/tmp320$ clang small.c -c -O1 -w
clang: error: clang frontend command failed due to signal 11 (use -v to see
invocation)

regehr at john-home:~/volatile/bugs/tmp320$ clang -v

clang version 2.8 (trunk 106941)
Target: i386-pc-linux-gnu
Thread model: posix

regehr at john-home:~/volatile/bugs/tmp320$ cat small.c

int g_33;
unsigned char g_50;
unsigned char *volatile g = &g_50;

int l(int);

unsigned char
func_2 (short p_3, unsigned char p_4, unsigned char p_5, unsigned char p_6,
unsigned char p_7)
{
  int *l_47 = &g_33;
  unsigned char l_179;
lbl_48:func_2;
  if (*l_47)
    {
      int *l_187 = (int *)&l_179;
      if (g_33)
        goto lbl_48;
      for (0; g; g)
        {
          if (l (1))       
            l_47 = l_187;
        }
    }
  *l_47 &= 1;
  return 0;
}

-- 
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