https://bugs.llvm.org/show_bug.cgi?id=41727

Anastasia Stulova <anastasia.stul...@arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Anastasia Stulova <anastasia.stul...@arm.com> ---
The following test case still fails to compile with an ICE:

  struct MyType {
    MyType(int i) : i(i) {}
    int i;
    ~MyType() {}
  };
 __kernel void foo(){
   MyType m(0);
 }

clang: /data/llvm/trunk/lib/IR/Instructions.cpp:2737: static llvm::CastInst*
llvm::CastInst::Create(llvm::Instruction::CastOps, llvm::Value*, llvm::Type*,
const llvm::Twine&, llvm::Instruction*): Assertion `castIsValid(op, S, Ty) &&
"Invalid cast!"' failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to