[llvm-bugs] [Bug 42586] New: ICE when compiling with -fopenmp and Catch2 unit test suite
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 11 08:52:29 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42586
Bug ID: 42586
Summary: ICE when compiling with -fopenmp and Catch2 unit test
suite
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: unassignedclangbugs at nondot.org
Reporter: ldalessandro at gmail.com
CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk
Created attachment 22230
--> https://bugs.llvm.org/attachment.cgi?id=22230&action=edit
reduced test case
Lukes-MacBook:test ldalessa$ clang++ --version
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Lukes-MacBook:test ldalessa$ clang++ --version
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Lukes-MacBook:test ldalessa$ cat test.cpp
#include <catch.hpp>
TEST_CASE ("Test", "") {
auto t0 = std::make_tuple();
REQUIRE (std::tuple_size_v<decltype(t0)> == 0);
}
Lukes-MacBook:test ldalessa$ clang++ -Xclang -fopenmp -std=c++17 -save-temps -o
test.o -c test.cpp
clang: error: unable to execute command: Illegal instruction: 4
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash backtrace,
preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg:
/var/folders/nm/j3bknc2n2t7f8llmt1m8j4680000gn/T/test-36c4ea.cpp
clang: note: diagnostic msg:
/var/folders/nm/j3bknc2n2t7f8llmt1m8j4680000gn/T/test-36c4ea.sh
clang: note: diagnostic msg: Crash backtrace is located in
clang: note: diagnostic msg:
/Users/ldalessa/Library/Logs/DiagnosticReports/clang_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your
crash)
clang: note: diagnostic msg:
********************
--
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/20190711/7412c4ab/attachment.html>
More information about the llvm-bugs
mailing list