-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 42586 |
| Resolution | INVALID |
| Resolved on | Jul 14, 2019 11:13 |
| Version | unspecified |
| OS | All |
| Blocks | #41819 |
| Attachments | reduced test case, preprocessed source |
| CC | @ldalessa,@zygoloid |
Extended Description
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__.crash
clang: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
clang: note: diagnostic msg: