https://bugs.llvm.org/show_bug.cgi?id=42898
Bug ID: 42898
Summary: Clang compiler crashes
Product: clang
Version: 6.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++17
Assignee: unassignedclangb...@nondot.org
Reporter: ag...@agner.org
CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
Created attachment 22345
--> https://bugs.llvm.org/attachment.cgi?id=22345&action=edit
Test case
The attached test case makes clang crash.
The error is detected on Clang version 6.0.0-1ubuntu2 under Windows subsystem
for Linux, Win 10.
The error does not occur under Cygwin64.
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Complete crash report is included as a comment in test.cpp
Command line: clang -m64 -std=c++17 -O2 -mavx test.cpp
I cannot produce a minimal test case because the error disappears even when I
remove seemingly irrelevant code.
--
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