[LLVMbugs] [Bug 6656] New: An asserting value handle still pointed to this value!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 19 09:41:54 PDT 2010


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

           Summary: An asserting value handle still pointed to this value!
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Seems to be a blockaddress problem.

$ llvm-gcc -S -O2 pr27863.c
While deleting: i32 (i32, i8**, i8**)* %main
An asserting value handle still pointed to this value!
UNREACHABLE executed at
/home/duncan/LLVM/llvm.top/llvm/lib/VMCore/Value.cpp:522!
pr27863.c:28: internal compiler error: Aborted

Here's the contents of pr27863.c (from the gcc testsuite):

/* This test used to ICE on IA64.  */
long stack[100];
int main(int argc,char**argv,char **envp)
{
  long *esp=stack;
  static void* jarray[]={ &&KeyCtrlKV };
 *++esp=(long)&&_loc0;
 goto SetTermStruc;
 _loc0:;
 *++esp=(long)&&_loc1;
 _loc1:;
*++esp=(long)&&_loc35;
 _loc35:;
goto *(*esp--);
*++esp=(long)&&_loc36;
 _loc36:;
*++esp=(long)&&_loc37;
 _loc37:;
KeyCtrlKV:
*++esp=(long)&&_loc66;
_loc66:;
*++esp=(long)&&_loc106;
 _loc106:;
*++esp=(long)&&_loc119;
 _loc119:;
SetTermStruc:
 goto *(*esp--);
}

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