[llvm-bugs] [Bug 47218] New: Compiler crash / ICE

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 18 01:33:23 PDT 2020


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

            Bug ID: 47218
           Summary: Compiler crash / ICE
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangbugs at nondot.org
          Reporter: __alex8 at ukr.net
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Created attachment 23858
  --> https://bugs.llvm.org/attachment.cgi?id=23858&action=edit
Pre-processed .cpp + a compiler involcation script

When it comes to reporting ICEs I usually emphasize that the code is valid and
another compiler X has compiled it successfully. In this case, however, I won't
make that claim because the code has deeply nesting template instantiations,
and no compiler I have could finish its compilation. They either run out of all
available RAM (MSVC) or keep working for 2 hours straight with no output (GCC
10).

But clang is the only one that crashed, and very quickly after starting the
compilation. I do believe that the code is well-formed, just impractical.

Repro files attached in a ZIP archive.

-- 
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/20200818/da47ffb8/attachment.html>


More information about the llvm-bugs mailing list