[LLVMbugs] [Bug 4641] New: Assertion failed: (use_empty() && " Uses remain when a value is destroyed!")

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 28 12:28:46 PDT 2009


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

           Summary: Assertion failed: (use_empty() && "Uses remain when a
                    value is destroyed!")
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3253)
 --> (http://llvm.org/bugs/attachment.cgi?id=3253)
bugpoint-reduced-simplified.bc

>From emacs lib-src/etags.c

$ opt bugpoint-reduced-simplified.bc -simplify-libcalls
WARNING: You're attempting to print out a bitcode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bitcode first-hand, you
can force output with the `-f' option.

While deleting: i8* %cond392
Use still stuck around after Def is destroyed:  %call393 = call
%struct.__sFILE* @fopen(i8* undef, i8* %cond392) nounwind               ;
<%struct.__sFILE*> [#uses=0]
Assertion failed: (use_empty() && "Uses remain when a value is destroyed!"),
function ~Value, file Value.cpp, line 78.
Stack dump:
0.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
1.      Running pass 'Simplify well-known library calls' on function '@main'
Abort (core dumped)


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