[llvm-bugs] [Bug 42898] New: Clang compiler crashes
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 6 04:19:59 PDT 2019
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: unassignedclangbugs at nondot.org
Reporter: agner at agner.org
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190806/0ee3a93e/attachment.html>
More information about the llvm-bugs
mailing list