------- 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