[LLVMbugs] [Bug 1049] NEW: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Dec 15 08:25:46 PST 2006


           Summary: Assertion `isa<X>(Val) && "cast<Ty>() argument of
                    incompatible type!"' failed
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru

Qt-compiling series is continuing...

Attached bytecode forces llc to crash with assertion:

./llc bugpoint-reduced-simplified.bc
llc: /home/asl/proj/llvm/src/include/llvm/Support/Casting.h:199: typename
llvm::cast_retty<To, From>::ret_type llvm::cast(const Y&) [with X =
llvm::ConstantSDNode, Y = llvm::SDOperand]: Assertion `isa<X>(Val) &&
"cast<Ty>() argument of incompatible type!"' failed.
./llc((anonymous namespace)::PrintStackTrace()+0x1f)[0x85a8cef]
./llc(llvm::ScheduleDAG::EmitNode(llvm::SDNode*, std::map<llvm::SDNode*,
unsigned int, std::less<llvm::SDNode*>, std::allocator<std::pair<llvm::SDNode*
const, unsigned int> > >&)+0x1079)[0x840dcd9]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list