-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.
Description
| Bugzilla Link | 9558 |
| Resolution | FIXED |
| Resolved on | Oct 24, 2011 17:26 |
| Version | unspecified |
| OS | Linux |
| CC | @rjmccall |
Extended Description
Testcase:
float y = reinterpret_cast<const float&>("asd");
Crashes with assert:
clang: Constants.cpp:1415: static llvm::Constant* llvm::ConstantExpr::getBitCast(llvm::Constant*, const llvm::Type*): Assertion `CastInst::castIsValid(Instruction::BitCast, C, DstTy) && "Invalid constantexpr bitcast!"' failed.
Issue found by inspection.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.