------- Comment #4 from burnus at gcc dot gnu dot org 2010-05-12 07:52 ------- For information:
Pathscale 3.2.99 and 3.9.99 and Portland pgf90 10.1-0 compile it without showing an error/warning. Using the Intel Fortran Compiler 11.1 (20090630), one gets: test.f90(10): error #6429: This name has already been used as a dummy function name. [F] !$OMP shared (a,n,f) ------------------^ test.f90(10): error #7655: A variable is required in this OpenMP context. [F] !$OMP shared (a,n,f) ------------------^ Sun Studio 12 and 12.1 (8.4 2009/06/03) show: !$OMP shared (a,n,f) ^ "test.f90", Line = 10, Column = 19: WARNING: Object F must be a variable to be in the SHARED clause of the PARALLEL directive. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44036