[llvm-bugs] [Bug 47615] New: Clang crashes on some abstruse but valid C++20 code

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 22 11:31:50 PDT 2020


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

            Bug ID: 47615
           Summary: Clang crashes on some abstruse but valid C++20 code
           Product: clang
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangbugs at nondot.org
          Reporter: stackyjoe 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 23991
  --> https://bugs.llvm.org/attachment.cgi?id=23991&action=edit
Unprocessed source

I've put it together in a MWE example, on Goldbolt. You can switch to GCC head
or MSVC and compile it, however clang crashes even with -O0. The code uses
generic lambdas, and it does so in a template template class.

https://godbolt.org/z/v84fhY

-- 
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/20200922/547f12b5/attachment.html>


More information about the llvm-bugs mailing list