[llvm-bugs] [Bug 48324] New: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 28 12:20:20 PST 2020


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

            Bug ID: 48324
           Summary: Assertion `isa<X>(Val) && "cast<Ty>() argument of
                    incompatible type!"' failed.
           Product: clang
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++17
          Assignee: unassignedclangbugs at nondot.org
          Reporter: c.j.havlicek at gmail.com
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Created attachment 24217
  --> https://bugs.llvm.org/attachment.cgi?id=24217&action=edit
.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,

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201128/382ced52/attachment.html>


More information about the llvm-bugs mailing list