Hi niXman, no it won't cause a link error because the #pragma just
gets ignored so essentially there is no parallelism, hence, no hang.
It is interesting though that when using -fopenmp, the -lpthread flag
is unnecessary. Maybe when using openmp links some other version of
pthread somehow?

Just for the record, Kai tried to reproduce on his own system and on
Ruben's and couldn't. Maybe this is a system related bug? Still I am
glad that others are able to reproduce. I wish I had time to debug it
here but currently I can't invest the time to set up a MinGW-w64 build
system.

------------------------------------------------------------------------------
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to