This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/40876] OpenMP private variable referenced in a statement function
- From: "jv244 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2009 14:34:44 -0000
- Subject: [Bug fortran/40876] OpenMP private variable referenced in a statement function
- References: <bug-40876-14710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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 :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40876