https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881
--- Comment #7 from Daniel Starke <daniel.f.starke at freenet dot de> --- Error report from Dr.Memory: Error #1: UNADDRESSABLE ACCESS: reading 0x0000000000000000-0x0000000000000008 8 byte(s) # 0 gomp_resolve_num_threads [../../../../src/gcc-7.1.0/libgomp/libgomp.h:677] # 1 GOMP_parallel [../../../../src/gcc-7.1.0/libgomp/parallel.c:166] # 2 main [h:\Temp\cpp017/test.c:11] Note: @0:00:00.450 in thread 3376 Note: instruction: mov %fs:0x00 -> %rax Backtrace from SIGSEGV in GDB: #0 gomp_resolve_num_threads (specified=specified@entry=0, count=count@entry=0) at ../../../../src/gcc-7.1.0/libgomp/parallel.c:47 threads_requested = <optimized out> max_num_threads = <optimized out> num_threads = <optimized out> busy = <optimized out> pool = <optimized out> #1 0x000000000040184f in GOMP_parallel (fn=fn@entry=0x401520 <main._omp_fn.0>, data=data@entry=0x22fe60, num_threads=num_threads@entry=0, flags=flags@entry=0) at ../../../../src/gcc-7.1.0/libgomp/parallel.c:166 No locals. #2 0x0000000000401604 in main () at test.c:11 var = {3.72983052e-039, 0, 7.3767739e+033, 0, 7.34706519e+033, 0, 3.20827844e-039, 0, 9.03661843e-038, 0, 3.20798697e-039, 0, 3.67341985e-039, 0, 6.86636248e-044, 0, 1.40129846e-045, 0, 7.53898574e-043, 0, 2, 0, 3.67341985e-039, 0, 3.67341985e-039, 0, 1.07899982e-043, 0, 2.75506488e-040, 0, 7.67135411e+033, 0, 0, 0, 8.59029811e+009, 0, 0, 0, 3.67390189e-039, 0, 0, 0, 5.60519386e-045, 0, 7.53898574e-043, 0, 2.00002337, 0, 1.07899982e-043, 0, 4.20389539e-045, 0, 1.77964905e-043, 0, 7.41472914e+033, 0, 3.71850803e-039, 0, 8.59029811e+009, 0, 3.67420457e-039, 0, 4.20389539e-043, 0, 3.20836812e-039, 0, 1.8758415e-012, 0, 3.72900095e-039, 0, 1.40129846e-045, 0, 3.67420457e-039, 0, 0, 0, 3.67390189e-039, 0, 0, 0, 1.07899982e-043, 0, 4.48415509e-044, 4.20389539e-045, 3.67420457e-039, 0, 0, 0, 2.80259693e-045, 0, 3.67420457e-039, 0, 0, 0, 1.40129846e-045, 0, 0, 0, 1.56945428e-043, 0, 0, 0, 0, 0, 3.72904579e-039, 0, 5.60519386e-044, 0, 3.20930979e-039, 0, 8.51989466e-043, 0, 3.20865959e-039, 0, 9.82653682e-039, 4.49998415e-039, 5.87344331e+022, 2.67781571e+020, 0, 0, 6.74539118e-039, 0, 2.38775653e-039, 0, -2.81029619e+037, 2.86705666e-042, 0, 0, 1.83673515e-039, 0, 0, 0, 1.56945428e-043, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.93057972e-035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.00001315e-039, 0, 3.21108104e-039, 0, 3.20936585e-039, 0, 7.34316878e+033, 0, 3.20935604e-039, 0, 3.72902337e-039, 0, 0, 0, 3.67341985e-039, 0, 0, 1.34524653e-043, 7.18866112e-043, 2.80259693e-045, 3.67341985e-039, 0, 7.63497105e+033, 0, 3.67341985e-039, 0, 3.72900095e-039, 0, 3.21121556e-039, 0, 1.34524653e-043, 0, 0, 0, 0, 0, -nan(0x7dd000), 2.86845796e-042, 1.82959882e-018, 0, 3.67341985e-039, 0, 7.48008123e+033, 0, 0, 0, 3.72902337e-039, 0...} PI = 3.14159274 Stack level 0, frame at 0x22edd0: rip = 0x401629 in gomp_resolve_num_threads (../../../../src/gcc-7.1.0/libgomp/parallel.c:47); saved rip 0x40184f called by frame at 0x22ee30 source language c. Arglist at 0x22ed88, args: specified=specified@entry=0, count=count@entry=0 Locals at 0x22ed88, Previous frame's sp is 0x22edd0 Saved registers: rbx at 0x22edb0, rsi at 0x22edb8, rdi at 0x22edc0, rip at 0x22edc8, xmm15 at 0x22edc8 Used mingw-w64-v5.0.2.