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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

Reply via email to