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: unassignedclangb...@nondot.org
          Reporter: pel...@xfbs.net
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to