------- Comment #1 from janus at gcc dot gnu dot org 2009-12-23 13:29 -------
Btw, one also gets the segfault without actually calling 'omp_get_num_procs':
subroutine s
!$ use omp_lib
!$ print *, 'Number of processors:', omp_get_num_procs()
end subroutine
end
This program can be compiled and run also without -fopenmp, and does absolutely
nothing (besides producing a segfault with -fopenmp -static).
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |4.4.1 4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42477