[LLVMbugs] [Bug 2455] New: ice

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Jun 13 16:55:07 PDT 2008


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

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


[regehr at babel tmp19]$ llvm-gcc -O2 -c small.c
cc1: /uusoc/exports/scratch/regehr/llvm/include/llvm/Instructions.h:1911: void
llvm::PHINode::addIncoming(llvm::Value*, llvm::BasicBlock*): Assertion `V &&
"PHI node got a null value!"' failed.
small.c:28: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
[regehr at babel tmp19]$ 



static inline unsigned int lshift_u_s (unsigned int left, int right)
{
  if ((right) || (right >= sizeof (unsigned int))
      || (left > ((1 * 2U + 1U) >> right)))
    return left;
  return left << right;
}
short g_56;
unsigned g_87;
unsigned g_90;
int func_67 (int p_68, char p_69, char p_71)
{
  for (g_87 = 1; 1; g_87 = 1)
    {
      for (p_71 = 1; p_71; --p_71)
        {
          unsigned l_110 = 1;
          if (lshift_u_s (l_110, p_69))
            {
              if (g_90)
                return 1;
              return 0;
            }
          for (g_56 = 0; 0; 1);
        }
      for (0; g_56; 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