[Bug fortran/40876] OpenMP private variable referenced in a statement function

jv244 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Tue Jul 28 14:35:00 GMT 2009

------- Comment #3 from jv244 at cam dot ac dot uk  2009-07-28 14:34 -------
(In reply to comment #1)
> I certainly can't reproduce any kind of segfault with this.

It could be that it segfaults for Bill because 'ftn' adds -static to the
compiler options, but doesn't link libpthread with '-Wl,--whole-archive
-lpthread -Wl,--no-whole-archive' (see PR39176). Certainly, this happened in
the past on the XT5. It is something Bill could check on the Cray :-)



More information about the Gcc-bugs mailing list