llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

OpenMP: Reduction initializer missing construnctor call. Test segfaults failed at runtime.

Open jyu2-git opened this issue 6 years ago • 3 comments

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

jyu2-git avatar Jul 05 '20 23:07 jyu2-git

mentioned in issue llvm/llvm-project#46070

zmodem avatar Nov 27 '21 03:11 zmodem

Pushed to 11.x as 3388ca490dc61365a6607b3217bfe446de3eabe4

zmodem avatar Jul 16 '20 15:07 zmodem

Fixed in 41d0af00740ac5140f11c7f37157fc6e6dd1b016

alexey-bataev avatar Jul 15 '20 19:07 alexey-bataev