[llvm-bugs] [Bug 49516] New: compiler crashes when trying to instantiate a templated lambda in function scope.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 10 10:06:38 PST 2021


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

            Bug ID: 49516
           Summary: compiler crashes when trying to instantiate a
                    templated lambda in function scope.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jgarcia at quantiqpartners.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 24616
  --> https://bugs.llvm.org/attachment.cgi?id=24616&action=edit
crash files

Trying to instantiate a templated lambda inside a function scope causes a
crash. Attached are the stack trace and the .sh and .cpp files generated by the
compiler's signal handler.

-- 
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/20210310/dfad3126/attachment.html>


More information about the llvm-bugs mailing list