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

             Bug #: 11275
           Summary: The unwind destination does not have a landingpad
                    instruction!
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 7555
  --> http://llvm.org/bugs/attachment.cgi?id=7555
testcase .ll

This occurs when building 447.dealII using the nightly testsuite.  Somewhat
reduced testcase attached.  Reproduce using:

$ opt lpad.ll -instcombine -disable-output
The unwind destination does not have a landingpad instruction!
  invoke void @_ZSt20__throw_length_errorPKc(i8* getelementptr inbounds ([23 x
i8]* @.cst16814, i64 0, i64 0)) noreturn
          to label %.noexc75.i unwind label %"63.i.nonloopexit"
The unwind destination does not have a landingpad instruction!
  invoke void @_ZSt17__throw_bad_allocv() noreturn
          to label %.noexc76.i unwind label %"63.i.nonloopexit"
LandingPadInst not the first non-PHI instruction in the block.
  %lpad.nonloopexit262 = landingpad { i8*, i32 } personality i32 (i32, i64,
i8*, i8*)* @__gxx_personality_v0
          cleanup
Broken module found, compilation aborted!

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