LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 48324 - Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Summary: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Status: NEW
Alias: None
Product: clang
Classification: Unclassified
Component: C++17 (show other bugs)
Version: 11.0
Hardware: PC Linux
: P normal
Assignee: Unassigned Clang Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-28 12:20 PST by Christopher J. Havlicek
Modified: 2020-11-28 12:52 PST (History)
5 users (show)

See Also:
Fixed By Commit(s):


Attachments
.ii, .cpp, .sh and backtrace associated files. (656.78 KB, application/x-gzip)
2020-11-28 12:20 PST, Christopher J. Havlicek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher J. Havlicek 2020-11-28 12:20:20 PST
Created attachment 24217 [details]
.ii, .cpp, .sh and backtrace associated files.

Front-end assertion while compiling [dry-comparison](https://github.com/rollbear/dry-comparisons/tree/drier) library code.

Briefly tested code compilation godbolt.org. Clang-6 compiles. Clang versions subsequent to 6 fail with the noted assertion.

See attached files for details.

Thanks,