[LLVMbugs] [Bug 10770] New: Block containing LandingPadInst must be jumped to only by the unwind edge of an invoke.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 26 01:43:17 PDT 2011


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

           Summary: Block containing LandingPadInst must be jumped to only
                    by the unwind edge of an invoke.
           Product: new-bugs
           Version: unspecified
          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


Created an attachment (id=7150)
 --> (http://llvm.org/bugs/attachment.cgi?id=7150)
testcase .ll

The optimizers move code around, breaking landingpad invariants:

$ opt -verify bug266.ll -disable-output
$ opt -std-compile-opts bug266.ll -disable-output
Block containing LandingPadInst must be jumped to only by the unwind edge of an
invoke.
  %14 = landingpad { i8*, i32 } personality i32 (i32, i64, i8*, i8*)*
@__gccgo_personality_v0
          catch i8* null

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