https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79182
--- Comment #3 from hwliu11 at hotmail dot com ---
(In reply to Jakub Jelinek from comment #2)
> That is a libc issue, statically linking only parts of -lpthread often
> results in broken programs, unless libpthread.a ensures all of libpthr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79182
--- Comment #1 from hwliu11 at hotmail dot com ---
My platform Unbuntu 16.06 LTS 64Bit
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: hwliu11 at hotmail dot com
Target Milestone: ---
Test File
program savedata
implicit none
integer ncpu,thread_num
integer OMP_GET_NUM_THREADS
external