[Bug c++/65485] New: Use openmp in dynamic library but not in calling program causes segfault at the end of execution

2015-03-20 Thread thomas.izard at silkan dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: thomas.izard at silkan dot com Consider: #include "omp.h" #include extern "C" { int test() { int N = omp_get_max_threads();

[Bug c++/65485] Use openmp in dynamic library but not in calling program causes segfault at the end of execution

2015-03-20 Thread thomas.izard at silkan dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65485 --- Comment #2 from thomas.izard at silkan dot com --- (In reply to Jakub Jelinek from comment #1) > Can't reproduce, works just fine here (Fedora 21, x86_64). Do you launch the program several times ? Some executions are correct (prog