[llvm-bugs] [Bug 46129] New: Internal error in debug mode

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 29 01:47:35 PDT 2020


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

            Bug ID: 46129
           Summary: Internal error in debug mode
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dominik.strasser at onespin.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 23552
  --> https://bugs.llvm.org/attachment.cgi?id=23552&action=edit
Source code

For the attached source, clang++ in debug mode errors out with:
can't implicitly cast lvalue to rvalue with this cast kind
UNREACHABLE executed at
/local/strasser/llvm-10.0.0.src/tools/clang/lib/Sema/Sema.cpp:537!

I think the source is reduced almost to the max.

-- 
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/20200529/3ab10e48/attachment.html>


More information about the llvm-bugs mailing list