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

           Summary: Module dtor segfaults on empty PHI nodes.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: quality-of-implementation
          Severity: normal
          Priority: P2
         Component: Core LLVM classes
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


If a module has an empty PHI node (a PHI node on which addIncomingBlock() has
not been called), then it segfaults while the module object is destroyed. It
can be reproduced by the attached test program.

Probably can be fixed by modifying User::dropHungoffUses().


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to