[llvm-bugs] [Bug 36498] New: clang frontend command failed due to	signal
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Fri Feb 23 19:41:34 PST 2018
    
    
  
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: unassignedclangbugs at nondot.org
          Reporter: stsp at list.ru
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180224/0c952b79/attachment-0001.html>
    
    
More information about the llvm-bugs
mailing list