[LLVMbugs] [Bug 4753] New: ice: Can't find corresponding super-register!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Aug 22 19:52:04 PDT 2009


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

           Summary: ice: Can't find corresponding super-register!
           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 on Ubuntu Hardy on x86.

regehr at john-home:~/volatile/tmp185$ llvm-gcc -O -c -w small.c
cc1: VirtRegRewriter.cpp:2274:
void<unnamed>::LocalRewriter::RewriteMBB(llvm::MachineBasicBlock&,
llvm::VirtRegMap&, llvm::LiveIntervals*, <unnamed>::AvailableSpills&,
llvm::BitVector&, std::vector<llvm::MachineOperand*,
std::allocator<llvm::MachineOperand*> >&): Assertion `SuperReg &&
TRI->getSubReg(SuperReg, SubIdx) == PhysReg && "Can't find corresponding
super-register!"' failed.
small.c:35: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.

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

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

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

char foo (int _si1, char _si2)
{
}

char bar (int _ui1, char _ui2)
{
}

volatile uint8;
char g_21;
char g_80;

int func_24 (unsigned short p_26, char p_27);

char func_53 (char p_54, char p_56, char p_57, char p_59);

int safe (int);

uint80 (char p_52)
{
  char l_55;
  char l_89;
  if (func_53
      (safe (~1), 1,
       func_24 (bar, 1 && p_52) != (func_24 (l_89, 1)
                                                           && g_80),
       (1 | func_24 (p_52, foo)) ^ p_52 ^ func_24 (l_55,
                                                                         safe
                                                                         (1))))
    uint8;
  uint8;
  if (func_24 (g_21, 1))
    for (0; 1; safefuncts (p_52, 1))
      uint8;
}


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