https://bugs.llvm.org/show_bug.cgi?id=36498
Bug ID: 36498
Summary: clang frontend command failed due to signal
Product: clang
Version: 5.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangb...@nondot.org
Reporter: s...@list.ru
CC: llvm-bugs@lists.llvm.org
Created attachment 19947
--> https://bugs.llvm.org/attachment.cgi?id=19947&action=edit
test-case
The following simple test-case makes clang++ to segfault:
---
void operator delete(void *) {}
#include <memory>
void operator delete(void *) {}
---
$ clang++ -c -std=c++11 tst.cpp
clang-5.0: error: unable to execute command: Segmentation fault (core dumped)
clang-5.0: error: clang frontend command failed due to signal (use -v to see
invocation)
Without -std=c++11 there is no segfault.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs