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

            Bug ID: 45344
           Summary: Segmentation fault on compilation with lambda
           Product: clang
           Version: 9.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Created attachment 23286
  --> https://bugs.llvm.org/attachment.cgi?id=23286&action=edit
Minimal code file that triggers the bug

Segmentation fault on compilation of code. 

Platform: Mac OS X
Versions: Apple Clang 11, LLVM Clang 9.0.1 (from homebrew).

I managed to reduce the code to a couple lines that trigger the crash, see the
attached store.cpp. 

The compilation flags I've used were:

/usr/local/Cellar/llvm/9.0.1/bin/clang++ -std=c++17 store.cpp
/usr/bin/clang -std=c++17 store.cpp

See attached files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to