llvm-project
llvm-project copied to clipboard
OpenMP: Reduction initializer missing construnctor call. Test segfaults failed at runtime.
| Bugzilla Link | 46593 |
| Resolution | FIXED |
| Resolved on | Jul 16, 2020 08:03 |
| Version | trunk |
| OS | All |
| Blocks | llvm/llvm-project#46070 |
| Attachments | small test case |
| CC | @alexey-bataev,@zmodem |
| Fixed by commit(s) | 41d0af00740ac5140f11c7f37157fc6e6dd1b016 |
Extended Description
I attached test case which passes with g++ but failed at runtime.
clang++ -fopenmp x.cpp ./a.out Segmentation fault (core dumped)
g++ -fopenmp x.cpp ./a.out PASSED
mentioned in issue llvm/llvm-project#46070
Pushed to 11.x as 3388ca490dc61365a6607b3217bfe446de3eabe4
Fixed in 41d0af00740ac5140f11c7f37157fc6e6dd1b016