This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/45430] segfault in OMP code with threadprivate and copyin



------- Comment #1 from longb at cray dot com  2010-08-27 18:31 -------
Comments from original submitter:

A [deleted] user has given me the following code which fails with gcc/4.5.0. 
The
code is OK with PGI and CCE.  The problem seems to come about from the use of
threadprivate in mod_globals.f90 and using the loop with the copyin clause in
test_loop1.f90.  If the threadprivate is commented out, and the copyin replaced
with a private clause, all is well.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45430


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]