[LLVMbugs] [Bug 4733] New: Ran out of registers during register allocation!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Aug 17 09:46:36 PDT 2009


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

           Summary: Ran out of registers during register allocation!
           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


regehr at john-home:~/volatile/tmp182$ llvm-gcc -c -O small.c

LLVM ERROR: Ran out of registers during register allocation!

regehr at john-home:~/volatile/tmp182$ llvm-gcc -v

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure
--prefix=/home/regehr/z/tmp/llvm-gcc-r79189-install
--program-prefix=llvm-r79189- --enable-languages=c,c++
--enable-llvm=/home/regehr/z/tmp/llvm-r79189 --enable-checking=release
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5649) (LLVM build)

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

static char foo1 (int _si1, char _si2)
{
  return _si1 > 32767 - _si2 < -_si2 ? : 1;
}

char foo2 (char _ui1, char _ui2)
{
  return _ui2;
}

static char foo3 (char _left, int _right)
{
  return _right >= 1 * 8 ? : _left;
}

static char foo4 (long long int _left, int _right)
{
  return _right >= 1 * 8 ? : _left;
}

struct S0
{
  char f0;
  char f1;
  char f3;
};

struct S1
{
  char f1;
  char f2;
};

struct S0 g_65 = {
  -1, 1
};

long long int g_102;

int safe (int);
int func_13 (int);

void uint80 (int p_11)
{
  struct S0 l_17 = {
    1, 0x3
  };
  struct S1 l_14 = {
    3, 0x41
  };
  func_13 (foo2 (l_17.f0, p_11));
  if (func_53
      (foo1
       (foo4 (g_102, p_11),
        foo3 (l_14.f2, g_65.f3)), safe (g_65.f1),
       safe (l_14.f1), 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